Ejemplo n.º 1
0
 public void HandleMoveEvent(NPCMovementEvent e)
 {
     // logic that handles messages coming from the bus.
     position_x = e.destination_x;
     position_y = e.destination_y;
 }
Ejemplo n.º 2
0
 public void HandleNPCMovedEvent(NPCMovementEvent e)
 {
     // render the almighty zodd and all his minions
     Console.WriteLine("Npc moved. Re-Drawing Npc");
 }