Package models

Examples of models.CurrentPlayerList


    Player player1 = new Player("Jojo");
    Player player2 = new Player("Juju");
    MenuBar menuBar = new MenuBar();
    HelpPanel helpPanel = new HelpPanel();
    ButtonPanel buttonPanel = new ButtonPanel(helpPanel);
    CurrentPlayerList currentPlayerList = new CurrentPlayerList(bank, currentCardList);
    currentPlayerList.addPlayer(player1);
    currentPlayerList.addPlayer(player2);
    currentPlayerList.drawForAll();
    PlayerListPanel playerListPanel = new PlayerListPanel(currentPlayerList,helpPanel);
    BankPanel bankPanel = new BankPanel(bank);
    StatisticsPanel statisticsPanel = new StatisticsPanel(currentPlayerList,helpPanel);
    CurrentPlayerPanel currentPlayerPanel = new CurrentPlayerPanel(player1);
    MainFrame frame = new MainFrame(menuBar,helpPanel, statisticsPanel, buttonPanel,playerListPanel,  bankPanel,  currentPlayerPanel);
View Full Code Here

TOP

Related Classes of models.CurrentPlayerList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.