Skip to content

Commit

Permalink
fix: linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ufocoder committed Apr 14, 2024
1 parent 3dbedbf commit 658ee61
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/scenes/BaseScene.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export default interface BaseScene {
onComplete(cb: () => void): void;
render(container: HTMLElement): void;
Expand Down
2 changes: 1 addition & 1 deletion src/views/Firstperson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default class Firstperson {
wallHeight: number;
}) {
const texturePositionX = Math.floor((texture.width * (ray.x + ray.y)) % texture.width);
let yIncrementer = (wallHeight * 2) / texture.height;
const yIncrementer = (wallHeight * 2) / texture.height;
let y = this.height / 2 - wallHeight;

for(let i = 0; i < texture.height; i++) {
Expand Down
3 changes: 1 addition & 2 deletions src/views/Minimap.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Player from "src/entities/Player";
import Canvas from "src/lib/Canvas";

type Player = any;

export default class Minimap {
readonly scale: number = 10;
readonly level: Level;
Expand Down

0 comments on commit 658ee61

Please sign in to comment.