Exemplo n.º 1
0
 public bool IsCollision(Player other)
 {
     return IsCollision(other.Position,
                        other.SpriteBoundingBox);
 }
Exemplo n.º 2
0
 // Add a new player to list of players.
 public void AddPlayer(Player pPlayer)
 {
     if (Players.Count < 4 && pPlayer != null)
     {
         Players.Add(pPlayer);
     }
 }