Removed some hardcoded constants in method: updatePlayerPosition(...)