Skip to content

H7CombatMapGridDebug

Class in MMH7Game · MMH7Game.H7CombatMapGridDebug

Object › H7CombatMapGridDebug

Using it from Lua
h7.find_all("H7CombatMapGridDebug")            -- live instances
h7.find_class("MMH7Game.H7CombatMapGridDebug")   -- the class
h7.hook("MMH7Game.H7CombatMapGridDebug.RenderDebugAttackPositions", fn)

Properties

NameTypeNotes
mAttackerH7CreatureStackprotected
mCurrentAttackPositionsarray<H7CombatMapCell>protected
mCursorRotationRotatorprotected
mDefendCellH7CombatMapCellprotected
mDefendPositionVectorprotected
mGridControllerH7CombatMapGridControllerprotected

Functions

NameDeclaration
RenderDebugAttackPositionsfunction RenderDebugAttackPositions(Canvas myCanvas)
Setupfunction Setup(H7CombatMapGridController gridController)
Updatefunction Update(array<H7CombatMapCell> Positions, H7CreatureStack attacker, H7CreatureStack defender)

Inherited

FromMembers
Object13 properties, 308 functions