Searched refs:mSnakeView (Results 1 – 1 of 1) sorted by relevance
48 private SnakeView mSnakeView; field in Snake61 mSnakeView = (SnakeView) findViewById(R.id.snake); in onCreate()62 mSnakeView.setDependentViews((TextView) findViewById(R.id.text), in onCreate()67 mSnakeView.setMode(SnakeView.READY); in onCreate()72 mSnakeView.restoreState(map); in onCreate()74 mSnakeView.setMode(SnakeView.PAUSE); in onCreate()77 mSnakeView.setOnTouchListener(new OnTouchListener() { in onCreate()81 if (mSnakeView.getGameState() == SnakeView.RUNNING) { in onCreate()92 mSnakeView.moveSnake(direction); in onCreate()97 mSnakeView.moveSnake(MOVE_UP); in onCreate()[all …]