To control if all raised events are to be published to console toggle property:
bt.debugging.events.publishToConsole = true | false;
To set if model-view objects check received structure when initializing toggle property:
bt.debugging.model.verifyModelConstructors = true | false
The 'debugging view' allows for stress testing with supported service calls. Select service's method to call, set the interval at witch to call it and you get statistics of successfull, failed and error calls in real time ...
bt.services.execute('BattleService', function(service) { service.initialization.initialize(); });
bt.services.execute('BattleService', function(service) { bt.game.battle.battleField.update(service) });
bt.services.execute('BattleService', function(service) { bt.game.battle.timers.query(service) });
bt.services.execute('BattleService', function(service) { service.actions.pass(); });
var unitId = 0, location = { x: 0, y: 0}; // Set these variables to appropriate values
bt.services.execute('BattleService', function(service) { service.actions.move(unitId, location); });
var unitId = 0, location = { x: 0, y: 0}; // Set these variables to appropriate values
bt.services.execute('BattleService', function(service) { service.actions.attack(unitId, location); });