예제 #1
0
 public void p3(View v) {
   // Select 3 player stat
   TextView result = (TextView) findViewById(R.id.multiResult);
   TextView resultTitle = (TextView) findViewById(R.id.MTitle);
   resultTitle.setText("3 Player");
   result.setText(
       mc.getbuzz1()
           + "\n"
           + String.valueOf(mc.getResult().findResult(2) + "\n")
           + mc.getbuzz2()
           + "\n"
           + String.valueOf(mc.getResult().findResult(3) + "\n")
           + mc.getbuzz3()
           + "\n"
           + String.valueOf(mc.getResult().findResult(4) + "\n"));
 } // end p3
예제 #2
0
 public void p4(View v) {
   // Select 4 player stat
   TextView result = (TextView) findViewById(R.id.multiResult);
   TextView resultTitle = (TextView) findViewById(R.id.MTitle);
   resultTitle.setText("4 Player");
   result.setText(
       mc.getbuzz1()
           + "\n"
           + String.valueOf(mc.getResult().findResult(5) + "\n")
           + mc.getbuzz2()
           + "\n"
           + String.valueOf(mc.getResult().findResult(6) + "\n")
           + mc.getbuzz3()
           + "\n"
           + String.valueOf(mc.getResult().findResult(7) + "\n")
           + mc.getbuzz4()
           + "\n"
           + String.valueOf(mc.getResult().findResult(8) + "\n"));
 } // end p4