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