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

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