Changed jump behaviour: Tux will now jump even if the button was pressed (up to)...
[supertux.git] / src / object / spotlight.hpp
index 520ad1a..b48ddfd 100644 (file)
@@ -1,4 +1,4 @@
-//  $Id: light.hpp 3327 2006-04-13 15:02:40Z ravu_al_hemio $
+//  $Id$
 //
 //  SuperTux
 //  Copyright (C) 2006 Matthias Braun <matze@braunis.de>
@@ -21,7 +21,9 @@
 #define __SPOTLIGHT_HPP__
 
 #include "game_object.hpp"
+#include "math/vector.hpp"
 #include "lisp/lisp.hpp"
+#include "video/color.hpp"
 
 class Sprite;
 
@@ -35,12 +37,15 @@ public:
   void draw(DrawingContext& context);
 
 private:
+  Vector  position;
   float   angle;
   Sprite* center;
   Sprite* base;
   Sprite* lights;
+  Sprite* light;
   Sprite* lightcone;
+
+  Color   color;
 };
 
 #endif
-