private void PopulateGunBelt(ZombieGame game, Vector2 initPos) { Pistol pistol = new Pistol(game, initPos); pistol.IsPickedUp = true; // Player starts with the pistol picked up Shotgun shotgun = new Shotgun(game, initPos); SMG smg = new SMG(game, initPos); GunBelt.Add(new Tuple <string, Gun>("Pistol", pistol)); GunBelt.Add(new Tuple <string, Gun>("Shotgun", shotgun)); GunBelt.Add(new Tuple <string, Gun>("SMG", smg)); NumberOfGuns = GunBelt.Count; }
private void PopulateGunBelt(ZombieGame game, Vector2 initPos) { Pistol pistol = new Pistol(game, initPos); pistol.IsPickedUp = true; // Player starts with the pistol picked up Shotgun shotgun = new Shotgun(game, initPos); SMG smg = new SMG(game, initPos); GunBelt.Add(new Tuple<string, Gun>("Pistol", pistol)); GunBelt.Add(new Tuple<string, Gun>("Shotgun", shotgun)); GunBelt.Add(new Tuple<string, Gun>("SMG", smg)); NumberOfGuns = GunBelt.Count; }