Skip to content

Commit

Permalink
Paint:Cursor fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
dderevjanik committed Apr 11, 2018
1 parent de284f3 commit fe1bd2d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/paint/Paint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ScenarioStruct } from "../io/IO";
import { TileStruct } from "../io/Structures/TileStruct";
import { getMap2dArray } from "../helpers/Helpers";

class Cursor {
export class Cursor {
x: number;
y: number;
paint: boolean = false;
Expand All @@ -21,7 +21,6 @@ class Cursor {
}

export class Paint {
private _scenario: ScenarioStruct;
private _tiles: TileStruct[][];

cursor: Cursor;
Expand All @@ -35,7 +34,6 @@ export class Paint {
}

constructor(scenario: ScenarioStruct) {
this._scenario = scenario;
this._tiles = getMap2dArray(scenario);
this.cursor = new Cursor(0, 0, 0);
}
Expand Down

0 comments on commit fe1bd2d

Please sign in to comment.