2018-08-04 10:43:27 +02:00
|
|
|
//
|
|
|
|
// Created by Wouter Groeneveld on 04/08/18.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef GBA_SPRITE_ENGINE_SCENE_EFFECT_H
|
|
|
|
#define GBA_SPRITE_ENGINE_SCENE_EFFECT_H
|
|
|
|
|
2018-08-08 13:00:27 +02:00
|
|
|
#include <libgba-sprite-engine/scene.h>
|
2018-08-04 10:43:27 +02:00
|
|
|
|
|
|
|
class SceneEffect {
|
|
|
|
protected:
|
2018-08-05 13:47:37 +02:00
|
|
|
// WHY no reference? Scene& operator= is implicitly deleted and no intentions to use that
|
2018-08-08 14:43:34 +02:00
|
|
|
Scene* sceneToAffect;
|
2018-08-04 10:43:27 +02:00
|
|
|
public:
|
2018-08-08 14:43:34 +02:00
|
|
|
void setSceneToAffect(Scene* scene) { sceneToAffect = scene; };
|
2018-08-04 10:43:27 +02:00
|
|
|
|
|
|
|
virtual void update() = 0;
|
|
|
|
virtual bool isDone() = 0;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //GBA_SPRITE_ENGINE_SCENE_EFFECT_H
|