Beispiel #1
0
 public void AddCustomHousingTiles(CustomHouse house)
 {
     _hasCustomTiles = true;
     _customHouse = house;
     _customHouseTiles = house.GetStatics(_components.Width, _components.Height);
     redrawAllTiles();
 }
Beispiel #2
0
        public static void UpdateCustomHouseData(Serial serial, int hash, int planecount, CustomHousePlane[] planes)
        {
            CustomHouse house;
            if (_customHouses.ContainsKey(serial))
            {
                house = _customHouses[serial];

            }
            else
            {
                house = new CustomHouse(serial);
                _customHouses.Add(serial, house);
            }
            house.Update(hash, planecount, planes);
        }