export class Constants { static TILE_SIZE = new Constants(32); static TANK_SIZE = new Constants(24); static TANK_COLL_OFFSET = new Constants(0.05); static TANK_SPEED = new Constants(2.0); static TANK_DEFAULT_SPAWN_X = new Constants(4*this.TILE_SIZE.getValue()); static TANK_DEFAULT_SPAWN_Y = new Constants(12*this.TILE_SIZE.getValue()); static SHOT_SPEED = new Constants(2.0); static SHOT_SIZE = new Constants(5); static PLAYER_TANK_ID_IMAGE = new Constants(100); static BRICK_SOUND = new Constants("sound/brick.ogg"); static STEEL_SOUND = new Constants("sound/steel.ogg"); static EXPLOSION_SOUND = new Constants("sound/explosion.ogg"); static GAME_START_SOUND = new Constants("sound/gamestart.ogg"); static GAME_OVER_SOUND = new Constants("sound/gameover.ogg"); constructor(value){ this._value = value; } getValue() { return this._value; } }