Beispiel #1
0
    private void playerBid()
    {
        AuctionHandler auction     = State.getAuctionHandler();
        App            app         = UnityEngine.Object.FindObjectOfType <App>();
        int            playerIndex = app.GetHumanIndex();

        auction.setIndexOfHighestBidderSoFar(playerIndex);
        auction.setCurrentBid(auction.getPlayerBid(playerIndex));
        playerTurn = false;
    }