Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@kentouemura
Created March 14, 2016 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kentouemura/4040e03f8a38c39310b1 to your computer and use it in GitHub Desktop.
Save kentouemura/4040e03f8a38c39310b1 to your computer and use it in GitHub Desktop.
プレイヤーが起こす行動の基底クラス
using UnityEngine;
using System.Collections;
/// <summary>
/// プレイヤーの行動基底クラス
/// </summary>
public class PlayerCommand : MonoBehaviour
{
/// <summary>
/// 実行する行動
/// </summary>
/// <param name="player">Player.</param>
public virtual void Execute(Player player){}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment