Esempio n. 1
0
        public override cForce copy( )
        {
            cForceClass f = new cForceClass();

            f.copy(this);
            return(f);
        }
Esempio n. 2
0
        /* protected constructors to make this like an abstract class you don't use
         *      instances of. */

        public override void copy(cForce pforce)
        {
            base.copy(pforce);
            if (!(pforce is cForceClass))
            {
                return;
            }
            cForceClass pforcechild = ( cForceClass )(pforce);

            _pnodeclass          = pforcechild._pnodeclass;
            _includechildclasses = pforcechild._includechildclasses;
        }