This commit is contained in:
syuilo 2024-01-13 12:01:18 +09:00
parent 7b0f5b50fc
commit 5503ad9d1a
2 changed files with 0 additions and 4 deletions

View file

@ -671,7 +671,6 @@ function replay() {
seed: seed,
gameMode: props.gameMode,
getMonoRenderOptions,
replaying: true,
});
attachGameEvents();
os.promiseDialog(loadMonoTextures(), async () => {

View file

@ -308,7 +308,6 @@ export class DropAndFusionGame extends EventEmitter<{
private gameMode: 'normal' | 'yen' | 'square';
private rng: () => number;
private logs: Log[] = [];
private replaying = false;
/**
*
@ -364,7 +363,6 @@ export class DropAndFusionGame extends EventEmitter<{
constructor(env: {
seed: string;
gameMode: DropAndFusionGame['gameMode'];
replaying?: boolean;
getMonoRenderOptions?: (mono: Mono) => Partial<Matter.IBodyRenderOptions>;
}) {
super();
@ -373,7 +371,6 @@ export class DropAndFusionGame extends EventEmitter<{
this.tick = this.tick.bind(this);
//#endregion
this.replaying = !!env.replaying;
this.gameMode = env.gameMode;
this.getMonoRenderOptions = env.getMonoRenderOptions ?? null;
this.rng = seedrandom(env.seed);