UNPKG

@tdurtschi/bug

Version:

Bug is a simulation that models a weevil walking around in an HTML canvas.

16 lines 571 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.gameStub = void 0; exports.gameStub = function () { return ({ isPaused: false, togglePause: jasmine.createSpy("togglePause"), addBug: function () { return null; }, addPlant: function () { return null; }, getEntities: function () { return []; }, start: jasmine.createSpy("start"), height: 0, width: 0, exportCurrentState: jasmine.createSpy("exportCurrentState"), setSpeed: function () { return null; }, }); }; //# sourceMappingURL=game-stub.js.map