XSGridEditor
1.0.0
XSGridEditor is a lightweight square grid map system for 2D/3D SRPG games, and comes with a simple and easy-to-use grid editing function. It can be used as a beginning for you to create SRPG games.
|
状态机,管理游戏中各个阶段的转换,从而分解每个阶段的操作 目前基础的流程 More...
Public Member Functions | |
void | Change< T > (IPhaseBase nextPhase, T logic) |
切换阶段 More... | |
void | Update< T > (T logic) |
预留接口,每帧更新 More... | |
Properties | |
IPhaseBase | Phase [get, protected set] |
当前的阶段 More... | |
PhaseMouseEvent | MouseEvent = new PhaseMouseEvent() [get] |
鼠标事件处理 More... | |
状态机,管理游戏中各个阶段的转换,从而分解每个阶段的操作 目前基础的流程
|
inline |
切换阶段
nextPhase | 下个阶段 |
logic | 游戏管理,作为参数传入,让阶段可以做一些操作 |
T | : | BattleLogic |
|
inline |
预留接口,每帧更新
T | : | BattleLogic |
|
getprivate |
鼠标事件处理
|
getprotected set |
当前的阶段