public class GameActivity
extends Activity
Constructor and Description |
---|
GameActivity() |
Modifier and Type | Method and Description |
---|---|
int |
numberOfDiceUsed()
The number of dice that are actually being used when ZilchResult is being done.
|
void |
onCreate(Bundle savedInstanceState)
Called when the activity is first created.
|
void |
setDieButtonTo(ImageButton dieButton,
int value)
Set the ImageButton to a image from resource
|
void |
setDieButtonToHighlighted(ImageButton dieButton,
int value)
Set a die to a highlighted image
|
void |
setupZilch()
Setup the zilch display
|
void |
toggleDieButtonClick(ImageButton button,
int buttonNumber)
Toggles the state of the button from highlight to unhighlight.
|
void |
updateSelectScore()
update the score display along with other things such as the currentZilchResult from selecting.
|
public void setDieButtonToHighlighted(ImageButton dieButton, int value)
dieButton
- value
- public void setDieButtonTo(ImageButton dieButton, int value)
dieButton
- value
- public void toggleDieButtonClick(ImageButton button, int buttonNumber)
button
- Button that's going to be changedbuttonNumber
- the number in the results this representspublic void setupZilch()
public void updateSelectScore()
public int numberOfDiceUsed()
public void onCreate(Bundle savedInstanceState)