Moved player to "entity" class.