added general handling of moving enemies in maphandler