Class Index | File Index

Classes


Class StackingCalculator

StackingCalculator
Defined in: stackingCalculator.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
StackingCalculator(Wargame, Force, Terrain, Map)
StackingCalculator
Method Summary
Method Attributes Method Name and Description
 
stackingIsValid(hexagonPoint)
method to check if stacking is valid
 
stackingIsValidWithUnit(index, hexagonPoint)
method to check if stacking is valid with unit
Class Detail
StackingCalculator(Wargame, Force, Terrain, Map)
StackingCalculator
Parameters:
Wargame
{object}
Force
{object}
Terrain
{object}
Map
{object}
Method Detail
{boolean} stackingIsValid(hexagonPoint)
method to check if stacking is valid
Parameters:
hexagonPoint
{point} hexagon point of advance
Returns:
{boolean} isValid

{boolean} stackingIsValidWithUnit(index, hexagonPoint)
method to check if stacking is valid with unit
Parameters:
index
{integer} unit integer
hexagonPoint
{point} hexagon point of advance
Returns:
{boolean} isValid

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Oct 22 2018 10:41:01 GMT-0700 (PDT)