1 #ifndef __OBJECT_DISPLAY_EFFECT_H__
2 #define __OBJECT_DISPLAY_EFFECT_H__
4 #include "scripting/display_effect.h"
5 #include "game_object.h"
7 class DisplayEffect : public GameObject, public Scripting::DisplayEffect
11 virtual ~DisplayEffect();
13 void action(float elapsed_time);
14 void draw(DrawingContext& context);
16 void fade_out(float fadetime);
17 void fade_in(float fadetime);
18 void set_black(bool enabled);
23 NO_FADE, FADE_IN, FADE_OUT