Beispiel #1
0
 public void OnDeposited(SodaCan can)
 {
     canCount++;
 }
Beispiel #2
0
 private void OnCanCollected(SodaCan can, MiniPlayer collectedBy)
 {
     can.OnCollected(collectedBy);
 }
Beispiel #3
0
 private void OnCanDeposited(SodaCan can, FridgeRack rack)
 {
     score          += SodaCan.PointValue;
     can.IsDeposited = true;
     rack.OnDeposited(can);
 }
Beispiel #4
0
 public void OnCanReleased(SodaCan can)
 {
     can.IsCollected = true;
     can.Position    = _player.Position;
     _cans.Add(can);
 }