Esempio n. 1
0
        protected override void DoCopyMembers(BaseEffect Copy)
        {
            UnitTerrainEffect NewEffect = (UnitTerrainEffect)Copy;

            _Terrain      = NewEffect._Terrain;
            _NumberType   = NewEffect._NumberType;
            _Value        = NewEffect._Value;
            _CanDowngrade = NewEffect._CanDowngrade;
        }
Esempio n. 2
0
        protected override BaseEffect DoCopy()
        {
            UnitTerrainEffect NewEffect = new UnitTerrainEffect(Params);

            NewEffect._Terrain      = _Terrain;
            NewEffect._NumberType   = _NumberType;
            NewEffect._Value        = _Value;
            NewEffect._CanDowngrade = _CanDowngrade;

            return(NewEffect);
        }