Created
March 14, 2016 15:32
-
-
Save kentouemura/fe7f461c9ff4573dd52e to your computer and use it in GitHub Desktop.
移動するコマンドクラス
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
/// <summary> | |
/// 移動コマンド | |
/// </summary> | |
public class MoveCommand : PlayerCommand | |
{ | |
/// <summary> | |
/// 移動 | |
/// </summary> | |
/// <param name="player">Player.</param> | |
public override void Execute(Player player) | |
{ | |
player.Move(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment