コード例 #1
0
 public geraldLevelTwo(Texture2D tex, Vector2 centre, Vector2 pos, Rectangle sourceRect, Vector2 vel) :
     base(tex, centre, pos, sourceRect, vel)
 {
     this.health = 1;
     weapon      = new laserShot();
     weaponName  = "Laser Shot";
 }
コード例 #2
0
 public geraldLevelTwo(Texture2D tex, Vector2 centre, Vector2 pos, Rectangle sourceRect, Vector2 vel) :
     base(tex, centre, pos, sourceRect, vel)
 {
     this.health = 1;
     weapon = new laserShot();
     weaponName = "Laser Shot";
 }