mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-25 23:25:13 +00:00
clean up
This commit is contained in:
parent
7b0f5b50fc
commit
5503ad9d1a
2 changed files with 0 additions and 4 deletions
|
@ -671,7 +671,6 @@ function replay() {
|
||||||
seed: seed,
|
seed: seed,
|
||||||
gameMode: props.gameMode,
|
gameMode: props.gameMode,
|
||||||
getMonoRenderOptions,
|
getMonoRenderOptions,
|
||||||
replaying: true,
|
|
||||||
});
|
});
|
||||||
attachGameEvents();
|
attachGameEvents();
|
||||||
os.promiseDialog(loadMonoTextures(), async () => {
|
os.promiseDialog(loadMonoTextures(), async () => {
|
||||||
|
|
|
@ -308,7 +308,6 @@ export class DropAndFusionGame extends EventEmitter<{
|
||||||
private gameMode: 'normal' | 'yen' | 'square';
|
private gameMode: 'normal' | 'yen' | 'square';
|
||||||
private rng: () => number;
|
private rng: () => number;
|
||||||
private logs: Log[] = [];
|
private logs: Log[] = [];
|
||||||
private replaying = false;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* フィールドに出ていて、かつ合体の対象となるアイテム
|
* フィールドに出ていて、かつ合体の対象となるアイテム
|
||||||
|
@ -364,7 +363,6 @@ export class DropAndFusionGame extends EventEmitter<{
|
||||||
constructor(env: {
|
constructor(env: {
|
||||||
seed: string;
|
seed: string;
|
||||||
gameMode: DropAndFusionGame['gameMode'];
|
gameMode: DropAndFusionGame['gameMode'];
|
||||||
replaying?: boolean;
|
|
||||||
getMonoRenderOptions?: (mono: Mono) => Partial<Matter.IBodyRenderOptions>;
|
getMonoRenderOptions?: (mono: Mono) => Partial<Matter.IBodyRenderOptions>;
|
||||||
}) {
|
}) {
|
||||||
super();
|
super();
|
||||||
|
@ -373,7 +371,6 @@ export class DropAndFusionGame extends EventEmitter<{
|
||||||
this.tick = this.tick.bind(this);
|
this.tick = this.tick.bind(this);
|
||||||
//#endregion
|
//#endregion
|
||||||
|
|
||||||
this.replaying = !!env.replaying;
|
|
||||||
this.gameMode = env.gameMode;
|
this.gameMode = env.gameMode;
|
||||||
this.getMonoRenderOptions = env.getMonoRenderOptions ?? null;
|
this.getMonoRenderOptions = env.getMonoRenderOptions ?? null;
|
||||||
this.rng = seedrandom(env.seed);
|
this.rng = seedrandom(env.seed);
|
||||||
|
|
Loading…
Reference in a new issue