addSprite
Creates a sprite (GameObject class) and returns it
Arguments
x - Number, sets the X position of the sprite (top-left corner)
y - Number, sets the Y position of the sprite (top-left corner)
width - Number, sets the width of the sprite
height - Number, sets the height of the sprite
char - String, sets the character the sprite is filled with
Returns
Last updated