示例#1
0
 protected void NotifyAdd(Powerup powerup)
 {
     Powerups.Add(powerup);
     powerup.NotifyManagerAdd(this);
     OnAdd.Invoke(powerup);
 }
示例#2
0
 protected void OnManager(Powerup powerup)
 {
     HasShield = Controller.HasPowerup <Shield>();
 }
示例#3
0
 public bool Has(Powerup powerup)
 {
     return(Powerups.Contains(powerup));
 }