private void PlayerMoved(object sender, PlayerMovedEventArgs e)
 {
     Update();
 }
Exemplo n.º 2
0
 private void moverMoved(object sender, PlayerMovedEventArgs e)
 {
     Player player = sender as Player;
     if (player != null)
     {
         if (e.DepartedNode == this)
             players.Remove(player);
         else if (e.ArrivedNode == this)
             players.Add(player);
     }
 }