コード例 #1
0
ファイル: level.cs プロジェクト: thedarrch/sharpshooter
 public level(int h, int w, int lvlnum, float x, float y, weapon startweapon)
 {
     levelheight = h;
     levelwidth  = w;
     levelnumber = lvlnum;
     enemylist   = new List <enemy>();
     walllist    = new List <wall>();
     poweruplist = new List <powerup>();
     createborders();
     p1loc            = new PointF(x, y);
     this.startweapon = startweapon;
 }
コード例 #2
0
 public weaponpowerup(PointF startlocation, weapon w) : base(w.getfile(), startlocation)
 {
     weaponcontained = w;
 }