Exemple #1
0
 public GridTile(int xCoord, int yCoord, string tileType, GridEntity tileOccupant)
 {
     x        = xCoord;
     y        = yCoord;
     type     = tileType;
     Occupant = tileOccupant;
 }
Exemple #2
0
 public GridTile(int xCoord, int yCoord, GridEntity tileOccupant)
 {
     x        = xCoord;
     y        = yCoord;
     type     = defaultType;
     Occupant = tileOccupant;
 }