Diamond Rush Game For Nokia X2-01 320x240 Portable -

private void newGame() generateRandomLevel(); diamondsCollected = 0; exitOpen = false; gameState = STATE_PLAYING;

private void drawHUD(Graphics g) Graphics.LEFT); if (exitOpen) g.setColor(0, 255, 0); g.drawString("EXIT OPEN!", getWidth()-70, 5, Graphics.TOP diamond rush game for nokia x2-01 320x240

private void drawGame(Graphics g) // Draw map for (int y = 0; y < HEIGHT; y++) for (int x = 0; x < WIDTH; x++) int px = x * TILE_SIZE; int py = y * TILE_SIZE; private void newGame() generateRandomLevel()

public void run() { while (running) { if (gameState == STATE_PLAYING) canvas.handleInput(); diamondsCollected = 0

Because the screen is wider than it is tall, enemies or falling rocks above or below you can sometimes catch you off guard. Move vertically with caution. 2. Master the Key Mapping

diamond rush game for nokia x2-01 320x240