コード例 #1
0
ファイル: Fighter.cs プロジェクト: kakureusagi/DesignPattern
        public void OnMoveCommand(Vector2 destination)
        {
            var moveState = new MoveState(this);

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