Esempio n. 1
0
 protected void fruitDead(FruitGameObject deadBonusObject)
 {
     this.decRage();
     this.currentScore += deadBonusObject.getFruitDeathPoints();
     if (this.currentScore < 0)
     {
         this.currentScore = 0;
     }
 }
Esempio n. 2
0
 protected void fruitCollected(FruitGameObject collectedBonusObject)
 {
     this.currentScore += collectedBonusObject.getFruitCollectionPoints();
 }