startstate.cs

来自「嵌入式程序」· CS 代码 · 共 62 行

CS
62
字号
using System;
using System.Windows.Forms;
using DiamondPet.LogicLayer.GameStateStartLogic.StartCommand;

namespace DiamondPet.LogicLayer.GameStateStartLogic
{
	/// <summary>
	/// StartState 的摘要说明。
	/// </summary>
	public class StartState
	{
		/// <summary>
		/// 命令父类
		/// </summary>
		protected Command command;

		/// <summary>
		/// 向下命令
		/// </summary>
		protected DownCommand downCommand;

		/// <summary>
		/// 确定命令
		/// </summary>
		protected EnterCommand enterCommand;

		/// <summary>
		/// 向左命令
		/// </summary>
		protected LeftCommand leftCommand;

		/// <summary>
		/// 向右命令
		/// </summary>
		protected RightCommand rightCommand;

		/// <summary>
		/// 向上命令
		/// </summary>
		protected UpCommand upCommand;

		/// <summary>
		/// 管理状态类
		/// </summary>
		public UserLayerStateManager userLayerStateManager;


		public StartState()
		{}

		/// <summary>
		/// 加入命令
		/// </summary>
		/// <param name="key"></param>
		public virtual void AddCommand(Keys key)
		{}

		public virtual void StartStateLogic()
		{}
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?