Applied the code guidelines on the GameEntity class.

Part of #91