コード例 #1
0
ファイル: GameSceneBrain.cs プロジェクト: ErPanfi/ProjectHCI
 protected void fruitDead(FruitGameObject deadBonusObject)
 {
     this.decRage();
     this.currentScore += deadBonusObject.getFruitDeathPoints();
     if (this.currentScore < 0)
     {
         this.currentScore = 0;
     }
 }
コード例 #2
0
ファイル: GameSceneBrain.cs プロジェクト: ErPanfi/ProjectHCI
 protected void fruitCollected(FruitGameObject collectedBonusObject)
 {
     this.currentScore += collectedBonusObject.getFruitCollectionPoints();
 }