Exemple #1
0
 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;
 }
 public weaponpowerup(PointF startlocation, weapon w) : base(w.getfile(), startlocation)
 {
     weaponcontained = w;
 }