jul1278 / SimpleComponents

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

Easy way to register listeners to IPhysicsEvent after creating it #49

Open jul1278 opened 8 years ago

jul1278 commented 8 years ago

For example, multiple action classes (FoodAction, SnakeAction) want to respond to snake/food intersection, at the moment both classes are just registering their own separate tasks, should be able to get tasks out or perhaps recognize when duplicate tasks have been added.