Added delta to updateGameObject() method