forked from mirror/misskey
clean up
This commit is contained in:
parent
7b0f5b50fc
commit
5503ad9d1a
@ -671,7 +671,6 @@ function replay() {
|
||||
seed: seed,
|
||||
gameMode: props.gameMode,
|
||||
getMonoRenderOptions,
|
||||
replaying: true,
|
||||
});
|
||||
attachGameEvents();
|
||||
os.promiseDialog(loadMonoTextures(), async () => {
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user