Beispiel #1
0
 public void ThrowFeather(NewBehaviourScript scene)
 {
     if (featherCooldown < 0)
     {
         scene.AddSprite(new Sprite("feather", this.ModelX, this.ModelY, this));
         this.featherCooldown = 30;
     }
 }
Beispiel #2
0
 public void RemoveBeak(NewBehaviourScript scene)
 {
     if (this.hasBeak)
     {
         this.hasBeak = false;
         scene.AddSprite(new Sprite("beak", this.ModelX, this.ModelY, this));
     }
 }