示例#1
0
        public void OnMoveCommand(Vector2 destination)
        {
            var moveState = new MoveState(this);

            moveState.SetDestination(destination);
            state = moveState;
        }