コード例 #1
0
ファイル: frmSpiel.cs プロジェクト: knotho/BreakoutOOP
 public void RemoveUpgrade(CUpgrade item)
 {
     upgrades.Remove(item);
 }
コード例 #2
0
ファイル: frmSpiel.cs プロジェクト: knotho/BreakoutOOP
 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);
 }