public void doSomething(IWatched watched, float x, float y) { if (this.x - x <= 5) { Console.WriteLine("Enemy: Follow target"); } }
public void doSomething(IWatched watched, float x, float y) { if (this.x == x && this.y == y) { Console.WriteLine("Trap: Kill player"); } }
public void doSomething(IWatched watched, float x, float y) { Console.WriteLine("Npc: Talk to player"); }