remove unused code

This commit is contained in:
Tangent Wantwight 2024-01-13 11:35:24 -05:00
parent 6384048fb5
commit 92a0af5457

View file

@ -32,15 +32,6 @@ export class IslandGrid {
); );
} }
public get(x: number, y: number): number {
return this.data[this.xy(x, y)];
}
public set(x: number, y: number, tile: number) {
this.data[this.xy(x, y)] = tile;
console.log(x, y, this.xy(x, y), this.data[this.xy(x, y)]);
}
public floodSearch( public floodSearch(
startPos: number, startPos: number,
shouldExpand: (tile: number) => boolean shouldExpand: (tile: number) => boolean