@hiddentao/clockwork-engine
Version:
A TypeScript/PIXI.js game engine for deterministic, replayable games with built-in rendering
9 lines • 342 B
TypeScript
export interface IGameLoop {
/**
* Update the game state for the current tick
* @param deltaTicks Number of ticks since the last update
* @param totalTicks Total number of ticks processed since start
*/
update(deltaTicks: number, totalTicks: number): void | Promise<void>;
}
//# sourceMappingURL=IGameLoop.d.ts.map