示例#1
0
 public void RemoveUpgrade(CUpgrade item)
 {
     upgrades.Remove(item);
 }
示例#2
0
 public void CreateUpgrade(int _type)
 {
     CUpgrade tmpUp = new CUpgrade(new Point(ball.LetzterStein.Posi.X + (ball.LetzterStein.Groesse.Width / 2),
         ball.LetzterStein.Posi.Y + ball.LetzterStein.Groesse.Height), gfx, this, _type);
     timer1.Tick += tmpUp.Tick;
     upgrades.Add(tmpUp);
 }