summaryrefslogtreecommitdiff
path: root/src/engine/components/GridPosition.ts
blob: b5acf3bccf73052f2c74d96e0f56c9f0e8ccd470 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import { Component, ComponentNames } from ".";

export class GridPosition extends Component {
  public x: number;
  public y: number;

  constructor(x: number, y: number) {
    super(ComponentNames.GridPosition);

    this.x = x;
    this.y = y;
  }
}