void function ( String arg0 ) { int loc0 = Integer . parseInt ( arg0 ) ; this . player = loc0 ; this . optionsView . setPlayerCount ( loc0 ) ; if ( loc0 != 0 ) { this . playerIsKi = new boolean [ loc0 - 1 ] ; } this . optionsView . setPlayerToggle ( loc0 ) ; }
einstellungen der spieleranzahl speichert die spieleranzahl initialiert dementsprechend ki bools setzt die spieler buttons in initview auf `` number '' concode_field_sep long serialVersionUID concode_elem_sep int battlefieldSize concode_elem_sep int port concode_elem_sep int destroyer concode_elem_sep Options_View optionsView concode_elem_sep boolean[] playerIsKi concode_elem_sep int corvette concode_elem_sep int frigate concode_elem_sep int submarine concode_elem_sep int totalShips concode_elem_sep String[] playerNames concode_elem_sep int ki concode_elem_sep int player concode_field_sep void setName concode_elem_sep int getPlayer concode_elem_sep String[] getPlayerNames concode_elem_sep void setKi concode_elem_sep void setShips concode_elem_sep int getDestroyer concode_elem_sep int getSubmarine concode_elem_sep int getBattlefieldSize concode_elem_sep boolean getPlayerKi concode_elem_sep void setPort concode_elem_sep int getTotalShips concode_elem_sep int getKi concode_elem_sep int setBattleFieldSize concode_elem_sep void setKiSize concode_elem_sep void actionPerformed concode_elem_sep void actionPerformed concode_elem_sep void actionPerformed concode_elem_sep void actionPerformed concode_elem_sep int getPort concode_elem_sep void setSize concode_elem_sep int getFrigate concode_elem_sep JPanel getPanel concode_elem_sep Options_View getView concode_elem_sep int getCorvette concode_elem_sep void addListener