*Changed the character.posX and character.posY to character.position.X and character.position.Y. *Need to correct a bug in the player::updatePos function.