void function ( Player arg0 ) { if ( canAttack ( arg0 ) ) { statuses . get ( arg0 ) [ 1 ] = true ; System . out . println ( "srini_string" + arg0 . toString ( ) + "srini_string" + statuses . get ( arg0 ) [ 0 ] + "srini_string" + statuses . get ( arg0 ) [ 1 ] ) ; } else System . out . println ( "srini_string" + arg0 . toString ( ) + "srini_string" + statuses . get ( arg0 ) [ 0 ] + "srini_string" + statuses . get ( arg0 ) [ 1 ] ) ; }
tells the turn controller that a specific player has executed an attack , so no forward actions of this kind can be done in this turn . concode_field_sep Player currentPlayer concode_elem_sep Map<Player,boolean[]> statuses concode_field_sep boolean canMove concode_elem_sep void move concode_elem_sep boolean canAttack concode_elem_sep Player currentPlayer concode_elem_sep void newTurn concode_elem_sep boolean finishedTurn concode_elem_sep void skip