moved changelevel from entity to levelManager