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