Example #1
0
 public static void HandleEvent(SpawnToonEvent leEvent)
 {
     Console.WriteLine("new toon event");
     new Toon(leEvent.Id, new Vector2(100, 100), "link");
 }
Example #2
0
 /// <summary>
 /// When you publish a SpawnToonEvent your dude will receive it and this is you telling it to f**k off -Troy
 /// </summary>
 /// <param name="leEvent"></param>
 public void ReceiveEvent(SpawnToonEvent leEvent)
 {
     Console.WriteLine("my id: " + id);
     return;
 }