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