Moved game logic outside Player class
Moved game logic outside Entity class