Skip to content

Function: mockCastPlanner() ​

ts
function mockCastPlanner(action: action_base): action_planner;

Mock of the engine cast-planner behaviour: lazily create a hidden planner on the action.

Parameters ​

ParameterType
actionaction_base

Returns ​

action_planner