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