Extracted the behaviour methdods/variables from ghost/player to entity.