public void PlayAmbientSoundEffect(NodeAddedEvent evt, ReadySilentAmbientSoundNode soundListener, BattleSelectScreenNode screen)
 {
     base.NewEvent(new BeforeLobbyAmbientSoundPlayEvent(true)).Attach(soundListener).ScheduleDelayed(soundListener.soundListener.DelayForLobbyState);
 }
Пример #2
0
 public void CloseFriendsPanel(NodeRemoveEvent e, BattleSelectScreenNode screen, [JoinByScreen] SingleNode <InviteFriendsListComponent> inviteFriendsList, [JoinAll] SingleNode <SelfUserComponent> user)
 {
     this.CloseFriendsPanel(screen.battleSelectScreen.FriendsPanel, screen.battleSelectScreen.EntrancePanel, user.Entity);
 }