pmc/include/surface.h
changeset 54 c064ce9f40f5
parent 46 4b9e1ac40246
--- a/pmc/include/surface.h
+++ b/pmc/include/surface.h
@@ -20,17 +20,14 @@
     SDL_Surface *screen;
 
   public:
-    enum foregroundColor { BLACK=1, RED, GREEN, BLUE };
-      Surface (int w, int h, int d);
-     ~Surface ();
+    enum foregroundColor { BLACK = 1, RED, GREEN, BLUE };
 
-    int getWidth () {
-        return width;
-    };
+    Surface (int w, int h, int d);
+    Surface (const Surface &) { /* Copy Constructor disabled */ };
+    virtual ~Surface ();
 
-    int getHeight () {
-        return height;
-    };
+    int getWidth () { return width; };
+    int getHeight () { return height; };
 
     void drawPixel (int x, int y);
     void drawLine (int x1, int y1, int x2, int y2);