예제 #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;
 }