Advertisement
optimalcstrike

Untitled

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