Ejemplo n.º 1
0
 protected LifeCycleLogic(TEntityFieldLogic entityFieldLogic, LifeCycleView lifeCycleView, ELifeCycleKind lifeCycleKind, int randomSeed)
 {
     _entityFieldLogic = entityFieldLogic;
     _lifeCycleView    = lifeCycleView;
     _kind             = lifeCycleKind;
     _random           = new System.Random(randomSeed);
 }
Ejemplo n.º 2
0
 protected LifeCycleLogic(TEntityFieldLogic entityLogic, LifeCycleView lifeCycleView, ELifeCycleKind lifeCycleKind, int randomSeed, float leftWall, float topWall, float rightWall, float bottomWall)
     : this(entityLogic, lifeCycleView, lifeCycleKind, randomSeed)
 {
     _leftWall   = leftWall;
     _topWall    = topWall;
     _rightWall  = rightWall;
     _bottomWall = bottomWall;
 }
Ejemplo n.º 3
0
        // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- //
        //!
        public virtual void Release()
        {
            _allMovable     = null;
            _allUpdatable   = null;
            _willRemoveList = null;

            _lifeCycleView    = null;
            _entityFieldLogic = default(TEntityFieldLogic);
        }