jul1278 / SimpleComponents

component-based 2D game engine in SDL
0 stars 1 forks source link

GraphicEffect class #73

Open jul1278 opened 8 years ago

jul1278 commented 8 years ago

GraphicEffect objects allow the creation of 'fire and forget' graphics like explosions etc which we don't need to be able to interact with and know when they need to be removed.

should look something like this:

class GraphicEffect { GraphicEffect(...); void Render(...); bool IsFinished(...); };