コード例 #1
0
ファイル: World.java プロジェクト: andreypetrov/SquashSquash
 /**
  * Calculates the game score, based on the type of the killed Npc
  *
  * @param isDemon
  */
 private void updateScore(Npc touchedNpc) {
   mScore += touchedNpc.getScore();
   updateScoreView();
 }