diff options
Diffstat (limited to 'src/engine/components/Grid.ts')
-rw-r--r-- | src/engine/components/Grid.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/engine/components/Grid.ts b/src/engine/components/Grid.ts index 0c18a65..a62cc7b 100644 --- a/src/engine/components/Grid.ts +++ b/src/engine/components/Grid.ts @@ -6,15 +6,12 @@ export class Grid extends Component { public gridPosition: Coord2D; public movingDirection: Direction; - public pushable: boolean = false; - constructor(pushable: boolean = false, position: Coord2D = { x: 0, y: 0 }) { + constructor(position: Coord2D = { x: 0, y: 0 }) { super(ComponentNames.Grid); this.initialized = false; - this.gridPosition = position; this.movingDirection = Direction.NONE; - this.pushable = pushable; } } |