コード例 #1
0
 public Mover(LEList es, Image enmy, int putted, Panel pnl, Soldier soldier, Image mylead, Scroller scroller)
 {
     this.scroller = scroller;
     this.pnl      = pnl;
     this.put      = putted;
     this.es       = es;
     this.enmy     = enmy;
     this.soldier  = soldier;
     this.mylead   = mylead;
     g             = this.pnl.CreateGraphics();
 }
コード例 #2
0
ファイル: Glock.cs プロジェクト: OkelyKodely/Renegade
 public Glock(LEList es, Panel pnl, Image explosion, Scroller scroller, Graphics g, int X, int Y, AList ant, Soldier soldier, Image image)
 {
     this.pee         = pnl;
     this.pi          = pee.CreateGraphics();
     this.myExplosion = explosion;
     this.scroller    = scroller;
     this.soldier     = soldier;
     this.myBullet    = image;
     this.ant         = ant;
     this.es          = es;
     this.g           = g;
     x = X;
     y = Y;
 }