Example #1
0
 public MapTile(int _x, int _y, BoardManager.RoomType _roomType)
 {
     x         = _x;
     y         = _y;
     roomType  = _roomType;
     NPCList   = new List <BoardManager.NPCType>();
     enemyList = new List <BoardManager.EnemyType>();
     itemList  = new List <ItemManager.ItemCategory>();
 }
Example #2
0
 public MapTile(MapTile tile)
 {
     x         = tile.x;
     y         = tile.y;
     roomType  = tile.roomType;
     NPCList   = new List <BoardManager.NPCType>(tile.NPCList);
     enemyList = new List <BoardManager.EnemyType>(tile.enemyList);
     itemList  = new List <ItemManager.ItemCategory>(tile.itemList);
     gObject   = tile.gObject;
 }