Esempio n. 1
0
 public void UnboundPlayer()
 {
     Type          = GameCellTypes.Empty;
     BoundedPlayer = null;
 }
Esempio n. 2
0
 public GameCell(Vector2 position)
 {
     Position = position;
     Type     = GameCellTypes.Empty;
 }
Esempio n. 3
0
 public void BoundPlayer(Player player)
 {
     Type          = GameCellTypes.Player;
     BoundedPlayer = player;
 }
Esempio n. 4
0
 public void SetCellType(Vector2 position, GameCellTypes type) => GetCellByPosition(position).Type = type;