-renamed ViewPort to Camera
[supertux.git] / src / drawable.h
index 7c4eef0..d96f200 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef __DRAWABLE_H__
 #define __DRAWABLE_H__
 
-class ViewPort;
+class Camera;
 
 /** interface for all game objects that can be drawn on screen.
  */
@@ -28,7 +28,7 @@ class Drawable
 public:
   /** This function draws the object on screen.
    */                                              
-  virtual void draw(ViewPort& viewport, int layer) = 0;
+  virtual void draw(Camera& viewport, int layer) = 0;
 };
 
 #endif