drawLoop and drawList

draw loop is the canvas draw loop. It draw all the images added to the
drawList every canvas.fps.

Sprites require the canvas they are being added to defined in the
constructor parameters.

Sprite width and height are determined automatically after the texture
has been loaded.

Needs performance testing
canvas width and height update

The canvas.width and canvas.height reference variables weren’t being
updated if the canvas size was dynamic.
Added offset to sprite

Offsets position to the centre
datatype added and hiding mouse cursor
Created mouse class

Mouse class expects the canvas element and a callback function. Very
specific use case needs reworking.

Only mousemovelistener is available.

Applied the class to the game.