Symbian - Games 240x320

Symbian - Games 240x320

public void startApp() display.setCurrent(gameCanvas); gameCanvas.start();

protected void keyPressed(int keyCode) int action = getGameAction(keyCode); if (action == LEFT) catcherX -= 20; if (catcherX < 0) catcherX = 0; else if (action == RIGHT) catcherX += 20; if (catcherX + CATCHER_W > width) catcherX = width - CATCHER_W; symbian games 240x320

// Catcher size: 60x20 private static final int CATCHER_W = 60; private static final int CATCHER_H = 20; private static final int BALL_SIZE = 8; public void startApp() display

We Said Go Travel