X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fobject%2Flight.hpp;h=2afbfbd375e0c5c8a7dc1489fe7c3b402e101d1c;hb=7831e810062da90ebb745f8e1a4346bc1e80e3ed;hp=b9b625b91aa585761e223c8e73ff76a786056832;hpb=fea3446f05e1e7673607b835c269d3e8d1929ab3;p=supertux.git diff --git a/src/object/light.hpp b/src/object/light.hpp index b9b625b91..2afbfbd37 100644 --- a/src/object/light.hpp +++ b/src/object/light.hpp @@ -1,12 +1,10 @@ -// $Id$ -// // SuperTux // Copyright (C) 2006 Matthias Braun // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -14,19 +12,18 @@ // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// along with this program. If not, see . + +#ifndef HEADER_SUPERTUX_OBJECT_LIGHT_HPP +#define HEADER_SUPERTUX_OBJECT_LIGHT_HPP -#ifndef __LIGHT_HPP__ -#define __LIGHT_HPP__ +#include -#include "game_object.hpp" -#include "lisp/lisp.hpp" #include "math/vector.hpp" +#include "sprite/sprite_ptr.hpp" +#include "supertux/game_object.hpp" #include "video/color.hpp" -class Sprite; - class Light : public GameObject { public: @@ -39,7 +36,9 @@ public: protected: Vector position; Color color; - Sprite* sprite; + SpritePtr sprite; }; #endif + +/* EOF */