X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fspotlight.hpp;h=bb4e7ce7f6659aa06ff9047dfaa330a7d1b43d21;hb=77d00a6f464cc87c6b50cf1f3b38064a7ae9aead;hp=520ad1a21101c99eb0a9783e4e3aa09023127a69;hpb=49796e6cc2385aea989d7c44c789b406190f2bf7;p=supertux.git diff --git a/src/object/spotlight.hpp b/src/object/spotlight.hpp index 520ad1a21..bb4e7ce7f 100644 --- a/src/object/spotlight.hpp +++ b/src/object/spotlight.hpp @@ -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 -