コード例 #1
0
    public void PrepareTicket(bool ship)
    {
        App.View.prepareView.TicketPrepared();
        Investigator i = App.Model.actionPhaseModel.investigators[App.Model.actionPhaseModel.turnIndex];

        if (ship) // get ship
        {
            i.GetShipTicket();
        }
        else // get train
        {
            i.GetTrainTicket();
        }

        // Can Add Prepare Event Here
        i.ActionPerformed("" + BasicActions.Prepare);
        App.Controller.actionPhaseController.ActionPerformed();
    }