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 | |
SearchTargetFrontWide (SearchStruct searchStruct, int length) | |
override List< XSTile > | GetAttackEffectRegion (Vector3Int tile, Vector3Int srcTile) |
获取攻击效果范围的格子,宽的范围搜索 More... | |
![]() | |
SearchTargetFront (SearchStruct searchStruct, int length) | |
override List< XSTile > | GetAttackRegion (XSIGridMgr gridMgr, XSTile srcTile) |
获取攻击范围 More... | |
![]() | |
SearchTargetBase (SearchStruct searchStruct) | |
virtual List< UnitBase > | Search (OnTriggerDataCommon data) |
搜索返回可以攻击的对象 More... | |
Additional Inherited Members | |
![]() | |
List< UnitBase > | SearchByPos (UnitBase src, XSTile tile, BattleLogic logic, XSIGridMgr gridMgr, XSTile srcTile) |
通过技能释放的原点,获取所有攻击对象 More... | |
virtual List< UnitBase > | SearchByAll (UnitBase src, BattleLogic logic, XSIGridMgr gridMgr, XSTile srcTile) |
遍历所有可能的技能释放原点,获取所有攻击对象,只要有攻击对象就直接返回,不全部搜索 More... | |
![]() | |
int | Length [get] |
前方多少长度 More... | |
![]() | |
SearchStruct | SearchStruct [get] |
搜索前方敌人,宽的范围
|
inline |
|
inlinevirtual |
获取攻击效果范围的格子,宽的范围搜索
tile | 技能释放的原点,也可以说是鼠标点击的地点 |
srcTile | 技能释放者所在位置 |
cellPosList | 以网格坐标存储所有tile |
Reimplemented from XSSLG.SearchTargetFront.