Advertisement
optimalcstrike

Untitled

May 9th, 2011
361
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. package com.cody.color;
  2.  
  3. import android.app.Activity;
  4. import android.os.Bundle;
  5. import android.widget.Button;
  6.  
  7.  
  8. public class Play extends Activity{
  9.  
  10. ColorFloodGame game = new ColorFloodGame(6,6);
  11. //Button c1 = (Button) findViewById(R.id.c1);
  12. //Button c2 = (Button) findViewById(R.id.c2);
  13. //Button c3 = (Button) findViewById(R.id.c3);
  14. //Button c4 = (Button) findViewById(R.id.c4);
  15. //Button c5 = (Button) findViewById(R.id.c5);
  16. //Button c6 = (Button) findViewById(R.id.c6);
  17. @Override
  18. protected void onCreate(Bundle savedInstanceState) {
  19. // TODO Auto-generated method stub
  20. @SuppressWarnings("unused")
  21. GuiThreader threader = new GuiThreader(game);
  22. super.onCreate(savedInstanceState);
  23. //setContentView(R.layout.colorboard_small);
  24. //while(!game.isWinner()){
  25.  
  26. //threader.execute();
  27. //}
  28.  
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement