Files
OpenFrontIO/src/core/execution/NoOpExecution.ts
T

16 lines
328 B
TypeScript

import { Execution, Game, Player } from "../game/Game";
export class NoOpExecution implements Execution {
isActive(): boolean {
return false;
}
activeDuringSpawnPhase(): boolean {
return false;
}
init(mg: Game, ticks: number): void {}
tick(ticks: number): void {}
owner(): Player {
return null;
}
}