public override void Execute(PureMVC.Interfaces.INotification notification) { room = (int)notification.Body; photon = Facade.photonManager; SendNotification(Notification.PHOTON_STATUS_CHANGED, "connect to match..."); photon.onJoinedRoom += OnJoinedRoom; photon.onFullRoom += startMatch; photon.joinRoom(room); }