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.
Public Member Functions | Properties | List of all members
XSSLG.BattleFSMBase Class Reference

状态机,管理游戏中各个阶段的转换,从而分解每个阶段的操作 目前基础的流程 More...

Inheritance diagram for XSSLG.BattleFSMBase:
XSSLG.BattleLogic

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...
 

Detailed Description

状态机,管理游戏中各个阶段的转换,从而分解每个阶段的操作 目前基础的流程

Member Function Documentation

◆ Change< T >()

void XSSLG.BattleFSMBase.Change< T > ( IPhaseBase  nextPhase,
logic 
)
inline

切换阶段

Parameters
nextPhase下个阶段
logic游戏管理,作为参数传入,让阶段可以做一些操作
Type Constraints
T :BattleLogic 

◆ Update< T >()

void XSSLG.BattleFSMBase.Update< T > ( logic)
inline

预留接口,每帧更新

Type Constraints
T :BattleLogic 

Property Documentation

◆ MouseEvent

PhaseMouseEvent XSSLG.BattleFSMBase.MouseEvent = new PhaseMouseEvent()
getprivate

鼠标事件处理

◆ Phase

IPhaseBase XSSLG.BattleFSMBase.Phase
getprotected set

当前的阶段


The documentation for this class was generated from the following file: