示例#1
0
文件: Board.cs 项目: rpwjanzen/Slick
 public void PurchaseCell(int x, int y, Player player)
 {
     Cells[x,y].Owner = player;
 }
示例#2
0
文件: Board.cs 项目: rpwjanzen/Slick
 public bool IsOwner(Player player)
 {
     return player == Owner;
 }
示例#3
0
文件: Board.cs 项目: rpwjanzen/Slick
 public bool IsOwner(int x, int y, Player player)
 {
     return Cells[x, y].IsOwner(player);
 }
示例#4
0
文件: Board.cs 项目: rpwjanzen/Slick
 public Cell(Player playerOwner, int oilDepth, bool isWater, int drilledDepth, int cost, int baseDrillCost)
 {
     this.Owner = playerOwner;
     this.OilDepth = oilDepth;
     this.IsWater = isWater;
     this.DrilledDepth = drilledDepth;
     this.PurchaseCost = cost;
     this.baseDrillCost = baseDrillCost;
 }