Accessors
Static offsetHeight
get offsetHeight( ) : number
Static offsetWidth
get offsetWidth( ) : number
Methods
Static _init
_init( canvas: HTMLCanvasElement ) : void
Parameters
canvas: HTMLCanvasElement
Returns void
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
This class represents the game's screen (canvas).
It makes it easy to access the width, height and offsets properties of the game's screen from anywhere in your game.