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 | |
SearchTargetNull () | |
override List< UnitBase > | Search (OnTriggerDataCommon data) |
搜索返回可以攻击的对象 More... | |
override List< XSTile > | GetAttackRegion (XSIGridMgr gridMgr, XSTile srcTile) |
获取攻击范围 More... | |
override List< XSTile > | GetAttackEffectRegion (Vector3Int tile, Vector3Int srcTile) |
获取攻击效果范围的格子 More... | |
![]() | |
SearchTargetBase (SearchStruct searchStruct) | |
Protected Member Functions | |
override List< UnitBase > | SearchByAll (UnitBase src, BattleLogic logic, XSIGridMgr gridMgr, XSTile srcTile) |
遍历所有可能的技能释放原点,获取所有攻击对象,只要有攻击对象就直接返回,不全部搜索 More... | |
![]() | |
List< UnitBase > | SearchByPos (UnitBase src, XSTile tile, BattleLogic logic, XSIGridMgr gridMgr, XSTile srcTile) |
通过技能释放的原点,获取所有攻击对象 More... | |
Additional Inherited Members | |
![]() | |
SearchStruct | SearchStruct [get] |
空的,不进行搜索,返回空的对象列表
|
inline |
|
virtual |
获取攻击效果范围的格子
cellPos | 技能释放的原点,也可以说是鼠标点击的地点 |
srcPos | 技能释放者所在位置 |
Implements XSSLG.SearchTargetBase.
|
virtual |
获取攻击范围
gridMgr | 参数传递下就不用重新获取了 |
srcCellPos | 技能释放者所在位置 |
Implements XSSLG.SearchTargetBase.
|
virtual |
|
protectedvirtual |
遍历所有可能的技能释放原点,获取所有攻击对象,只要有攻击对象就直接返回,不全部搜索
src | 技能释放者 |
logic | 参数传递下就不用重新获取了 |
gridMgr | 参数传递下就不用重新获取了 |
srcCellPos | 技能释放者所在位置 |
Reimplemented from XSSLG.SearchTargetBase.