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.BattleLogic Class Reference

战斗管理 继承BattleFSMBase,修改回合状态 More...

Inheritance diagram for XSSLG.BattleLogic:
XSSLG.BattleFSMBase

Public Member Functions

 BattleLogic ()
 
void TurnBegin ()
 
void Change (IPhaseBase nextPhase)
 统一处理Change传递的第二个参数就是自己 More...
 
void Update ()
 统一处理Update传递的第二个参数就是自己 More...
 
- Public Member Functions inherited from XSSLG.BattleFSMBase
void Change< T > (IPhaseBase nextPhase, T logic)
 切换阶段 More...
 
void Update< T > (T logic)
 预留接口,每帧更新 More...
 

Properties

XSGridHelper GridHelper [get]
 grid 助手 More...
 
XSUnitMgr UnitMgr [get, protected set]
 
- Properties inherited from XSSLG.BattleFSMBase
IPhaseBase Phase [get, protected set]
 当前的阶段 More...
 
PhaseMouseEvent MouseEvent = new PhaseMouseEvent() [get]
 鼠标事件处理 More...
 

Detailed Description

战斗管理 继承BattleFSMBase,修改回合状态

Constructor & Destructor Documentation

◆ BattleLogic()

XSSLG.BattleLogic.BattleLogic ( )
inline

Member Function Documentation

◆ Change()

void XSSLG.BattleLogic.Change ( IPhaseBase  nextPhase)

统一处理Change传递的第二个参数就是自己

◆ TurnBegin()

void XSSLG.BattleLogic.TurnBegin ( )

◆ Update()

void XSSLG.BattleLogic.Update ( )

统一处理Update传递的第二个参数就是自己

Property Documentation

◆ GridHelper

XSGridHelper XSSLG.BattleLogic.GridHelper
get

grid 助手

◆ UnitMgr

XSUnitMgr XSSLG.BattleLogic.UnitMgr
getprotected set

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