Example #1
0
 internal void ActionHandler(object sender, GameActionEventArgs e)
 {
     foreach(var actor in actors)
     {
         actor.Evolve(this,e.action);
     }
     LevelChanged(sender, e as EventArgs);
 }
Example #2
0
 internal void SendAction(Action action)
 {
     var args = new GameActionEventArgs(action, level);
     GameActionEvent(this, args);
 }