Example #1
0
 public void PurchaseCell(int x, int y, Player player)
 {
     Cells[x,y].Owner = player;
 }
Example #2
0
 public bool IsOwner(Player player)
 {
     return player == Owner;
 }
Example #3
0
 public bool IsOwner(int x, int y, Player player)
 {
     return Cells[x, y].IsOwner(player);
 }
Example #4
0
 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;
 }