Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.cody.color;
- import android.app.Activity;
- import android.os.Bundle;
- import android.widget.Button;
- public class Play extends Activity{
- ColorFloodGame game = new ColorFloodGame(6,6);
- //Button c1 = (Button) findViewById(R.id.c1);
- //Button c2 = (Button) findViewById(R.id.c2);
- //Button c3 = (Button) findViewById(R.id.c3);
- //Button c4 = (Button) findViewById(R.id.c4);
- //Button c5 = (Button) findViewById(R.id.c5);
- //Button c6 = (Button) findViewById(R.id.c6);
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- // TODO Auto-generated method stub
- @SuppressWarnings("unused")
- GuiThreader threader = new GuiThreader(game);
- super.onCreate(savedInstanceState);
- //setContentView(R.layout.colorboard_small);
- //while(!game.isWinner()){
- //threader.execute();
- //}
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement