X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fspotlight.hpp;h=b48ddfd0acc76d7c5a38b24f90dce451c76dee2f;hb=7e15c4f871809033278711a6e9327616da00c4c9;hp=520ad1a21101c99eb0a9783e4e3aa09023127a69;hpb=49796e6cc2385aea989d7c44c789b406190f2bf7;p=supertux.git diff --git a/src/object/spotlight.hpp b/src/object/spotlight.hpp index 520ad1a21..b48ddfd0a 100644 --- a/src/object/spotlight.hpp +++ b/src/object/spotlight.hpp @@ -1,4 +1,4 @@ -// $Id: light.hpp 3327 2006-04-13 15:02:40Z ravu_al_hemio $ +// $Id$ // // SuperTux // Copyright (C) 2006 Matthias Braun @@ -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 -