예제 #1
0
 public void MoveStop()
 {
     //make SY stop moving, then send them back to the state
     time    = 0;
     timeEnd = true;
     currentState.MoveEnd();
 }
예제 #2
0
        public void MoveStop()
        {
            //sends the player to the end state of movement for its current state

            time    = 0;
            timeEnd = true;
            currentState.MoveEnd();
        }