Пример #1
0
    private Suburbia()
    {
        m_eventBus = new EventBus();

        m_eventBus.AddHandler(EventEndOfTurn.TYPE, this);
        m_eventBus.AddHandler(EventLastTurn.TYPE, this);
        m_eventBus.AddHandler(EventEndOfGame.TYPE, this);
    }
Пример #2
0
    private Suburbia()
    {
        m_eventBus = new EventBus ();

        m_eventBus.AddHandler(EventEndOfTurn.TYPE, this);
        m_eventBus.AddHandler(EventLastTurn.TYPE, this);
        m_eventBus.AddHandler(EventEndOfGame.TYPE, this);
    }