Added hasGravity component to Entity, implemented flappy-bird-like jumping mechanics