예제 #1
0
 public static void HandleEvent(SpawnToonEvent leEvent)
 {
     Console.WriteLine("new toon event");
     new Toon(leEvent.Id, new Vector2(100, 100), "link");
 }
예제 #2
0
파일: Toon.cs 프로젝트: ZacJ/BroodLord
 /// <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;
 }