示例#1
0
 public void SetSpawner(MelonSpawner spawner)
 {
     ms = spawner;
 }
示例#2
0
 public override void Collect()
 {
     manager.updateScore(20);
     ms.CollectedMelon();
     ms = null;
 }
示例#3
0
 public override void Collect()
 {
     manager.updateScore(-10);
     ms.CollectedRotten();
     ms = null;
 }