OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mXTileCount
(Results
1 - 2
of
2
) sorted by null
/development/samples/Snake/src/com/example/android/snake/
TileView.java
44
protected static int
mXTileCount
;
101
mXTileCount
= (int) Math.floor(w / mTileSize);
104
mXOffset = ((w - (mTileSize *
mXTileCount
)) / 2);
107
mTileGrid = new int[
mXTileCount
][mYTileCount];
132
for (int x = 0; x <
mXTileCount
; x++) {
156
for (int x = 0; x <
mXTileCount
; x += 1) {
SnakeView.java
368
int newX = 1 + RNG.nextInt(
mXTileCount
- 2);
417
for (int x = 0; x <
mXTileCount
; x++) {
423
setTile(GREEN_STAR,
mXTileCount
- 1, y);
474
if ((newHead.x < 1) || (newHead.y < 1) || (newHead.x >
mXTileCount
- 2)
Completed in 3250 milliseconds