Example #1
0
 public ATBState(T actor, ATBStateMachine <T> machine)
 {
     owner  = actor;
     Source = machine;
 }
Example #2
0
        public float timePassed = 0.0f;    // Amount of time spent in the state

        // Constructor for ATBState
        // (assigns an ATBActor as an owner for the State to run functions)
        public ATBState()
        {
            owner  = null;
            Source = null;
        }