コード例 #1
0
ファイル: GardenView.java プロジェクト: bballant/ZenGarden
 /**
  * Handles the basic update loop, checking to see if we are in the running state, determining if a
  * move should be made, updating the snake's location.
  */
 public void update() {
   if (mMode == RUNNING) {
     clearTiles();
     updateBackground();
     mRedrawHandler.update();
   }
 }