Skip to content

Commit

Permalink
resolve placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
satelllte committed Apr 16, 2024
1 parent 402476b commit 499bc36
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/Rotate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ import {ROTATE_Level13} from './levels/ROTATE_Level13';
import {ROTATE_Level14} from './levels/ROTATE_Level14';
import {ROTATE_Level15} from './levels/ROTATE_Level15';
import {ROTATE_Level16} from './levels/ROTATE_Level16';
import {ROTATE_BaseLevelInterface} from './levels/ROTATE_BaseLevelInterface';

var bindIdNext = 0;
function Bind(a, b) {
Expand Down Expand Up @@ -1414,15 +1415,14 @@ class ROTATE_Player extends ROTATE_AnimatedObject {
}
}

type PLACEHOLDER__BaseLevelInterface = unknown;
export class ROTATE_LevelEditorManager {
public static rotating = !1;
public static rotation = 0;
public static level: PLACEHOLDER__BaseLevelInterface | null = null;
public static level: ROTATE_BaseLevelInterface | null = null;
public static tiles: number[][][] = [];
public static updateQueue = new ROTATE_EventMap();

public static set_level(level: number) {
public static set_level(level: ROTATE_BaseLevelInterface | null) {
if (null != level) {
ROTATE_LevelEditorManager.level = level;
ROTATE_LevelEditorManager.set_rotation(0);
Expand Down Expand Up @@ -3087,7 +3087,6 @@ class ROTATE_ScreenMainMenu extends ROTATE_ScreenBase {
}
}

type PLACEHOLDER_ROTATE_BaseLevelInterface = unknown;
export class ROTATE_ScreenPrimaryGame extends ROTATE_ScreenGameBase {
public channels = new ROTATE_KeysMap();
public newBest = !1;
Expand Down Expand Up @@ -3117,7 +3116,7 @@ export class ROTATE_ScreenPrimaryGame extends ROTATE_ScreenGameBase {
public static canceled = !1;

constructor(
tempLevel: PLACEHOLDER_ROTATE_BaseLevelInterface,
tempLevel: ROTATE_BaseLevelInterface,
speedrun: boolean = false,
speedrunStart: number = -1,
) {
Expand Down

0 comments on commit 499bc36

Please sign in to comment.