Type alias GameSettings

GameSettings: {
    autoResize?: boolean;
    canvas?: HTMLCanvasElement;
    canvasImageQuality?: ImageQuality;
    drawAlways?: boolean;
    grid?: Vector2;
    refreshWhenUnfocused?: boolean;
}

The Game settings.

Type declaration

  • Optional autoResize?: boolean

    Is canvas auto resized to parent element size?

  • Optional canvas?: HTMLCanvasElement
  • Optional canvasImageQuality?: ImageQuality
  • Optional drawAlways?: boolean
  • Optional grid?: Vector2
  • Optional refreshWhenUnfocused?: boolean