?? startstate.cs
字號:
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 + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -