Starshatter_Open
Open source Starshatter engine
|
#include <Scene.h>
Public Member Functions | |
Scene () | |
virtual | ~Scene () |
void | AddBackground (Graphic *g) |
void | DelBackground (Graphic *g) |
void | AddForeground (Graphic *g) |
void | DelForeground (Graphic *g) |
void | AddGraphic (Graphic *g) |
void | DelGraphic (Graphic *g) |
void | AddSprite (Graphic *g) |
void | DelSprite (Graphic *g) |
void | AddLight (Light *l) |
void | DelLight (Light *l) |
List< Graphic > & | Background () |
List< Graphic > & | Foreground () |
List< Graphic > & | Graphics () |
List< Graphic > & | Sprites () |
List< Light > & | Lights () |
Color | Ambient () |
void | SetAmbient (Color a) |
virtual void | Collect () |
virtual bool | IsLightObscured (const Point &obj_pos, const Point &light_pos, double obj_radius, Point *imp_point=0) const |
Static Public Member Functions | |
static const char * | TYPENAME () |
Protected Attributes | |
List< Graphic > | background |
List< Graphic > | foreground |
List< Graphic > | graphics |
List< Graphic > | sprites |
List< Light > | lights |
Color | ambient |