Game events should be implemented in their own respective class. Current implementation inhibits passing resources necessary for the game event. A mechanism should be put in place to enable passing parameters to the game event. This will require modifying the Annex API.
Pseudocode
class Foo : Scene
{
public Foo() {
object parameter = new object();
this.Events.Add(new CustomGameEvent(parameter);
}
}
Requirements
Game events should be implemented in their own respective class. Current implementation inhibits passing resources necessary for the game event. A mechanism should be put in place to enable passing parameters to the game event. This will require modifying the Annex API.
Pseudocode