Пример #1
0
        public override cForce copy()
        {
            cForceMinionMovement force = new cForceMinionMovement(null);

            force.copy(this);
            return(force);
        }
Пример #2
0
        public override void copy(cForce pforce)
        {
            base.copy(pforce);
            if (!pforce.IsKindOf("cForceMinionMovement"))
            {
                return;
            }
            cForceMinionMovement pforcechild = (cForceMinionMovement)pforce;

            moveTowards = pforcechild.moveTowards;
        }