Add more methods for entities

I added methods for setting/getting general entities movement speed and invulnerablity. I also added getters/setters for player flying and flight speed.
If this PR should get accepted, could you also be so kind and fix this newline error? thanks ;)