コード例 #1
0
    public void NewGame()
    {
        overlay.Hide();

        resources.Reset();
        weeks.Reset();
        mana.Reset();
        factions.Reset();

        library.Reset();
        rent.Reset();
        events.Reset();
        hand.Reset();

        library.AddCards(CardDataFactory.OpeningHand);
        knowledgePile.Shuffle();

        events.AddCards(CardEventFactory.EventDeck);
        eventsPile.Shuffle();
        DrawEvent();

        DrawHand();

        gameState = GameState.PLAY;
    }