Пример #1
0
        private void ProcessSpearwallZone(CTile tile, AZone spearWallProto)
        {
            var data = new ZoneSpearWallData();

            data.Dur    = 1;
            data.Effect = spearWallProto.GetData().Effect;
            data.Handle = spearWallProto.GetData().Handle;
            data.Parent = tile;
            data.Source = spearWallProto.GetData().Source;
            var zone = new SpearWallZone();

            zone.SetSpearWallZoneData(data);
            tile.AddZone(zone);
        }