Example #1
0
    public void OnCharacterSelect(CharacterSelectEvent e)
    {
        if (!e.isGood)
        {
            return;
        }
        EventManager em = EventManager.Instance;

        if (em)
        {
            SetInputStateEvent ev = new SetInputStateEvent(new SelectionState(), e.character);
            em.Raise(ev);
        }
    }
Example #2
0
 private void OnInputStateChange(SetInputStateEvent e)
 {
     ChangeState(e.state, e.enterObj);
 }