public ShotTypeSetter FocusShotSetter(IShotType one, IShotType two, IShotType three) { //ShotLoad _focusShot = new List <IShotType>(); _focusShot.Add(one); _focusShot.Add(two); _focusShot.Add(three); return(this); }
public ShotTypeSetter SecondaryShotSetter(IShotType one, IShotType two, IShotType three) { //ShotLoad _secondaryShot = new List <IShotType>(); _secondaryShot.Add(one); _secondaryShot.Add(two); _secondaryShot.Add(three); return(this); }
public override void SetShots() { allshots = new IShotType[6]; allshots[0] = new FastShot(1, 0.5f); allshots[1] = new FastShot(3, 0.5f); allshots[2] = new FastShot(5, 0.5f); allshots[3] = new FastFocus(true, 0.9f, 0.2f); allshots[4] = new FastFocus(true, 0.9f, 0.15f); allshots[5] = new FastFocus(true, 0.9f, 0.1f); bomb = new Seal(); }
public override void SetShots() { allshots = new IShotType[6]; allshots[0] = new HomingShot(2, 30, 1.3f); allshots[1] = new HomingShot(4, 30, 1.3f); allshots[2] = new HomingShot(6, 15, 1.3f); allshots[3] = new HomingFocus(2, 5, 1.3f); allshots[4] = new HomingFocus(4, 5, 1.3f); allshots[5] = new HomingFocus(6, 5, 1.3f); bomb = new Seal(); }
public override void SetShots() { allshots = new IShotType[6]; allshots[0] = new LaserShot(2, 2.5f, 2, 1.3f, 0.6f); allshots[1] = new LaserShot(2, 2.3f, 4, 1.7f, 0.6f); allshots[2] = new LaserShot(2, 2.1f, 6, 2, 0.6f); allshots[3] = new LaserFocus(1, 2.3f, 8, 1.7f, 0); allshots[4] = new LaserFocus(1, 2.1f, 10, 2f, 0); allshots[5] = new LaserFocus(1, 2f, 12, 1.95f, 0); bomb = new Magicannon(); }
public override void SetShots() { allshots = new IShotType[6]; allshots[0] = new PowerShot(0.2f, 0.5f); allshots[1] = new PowerShot(0.2f, 0.35f); allshots[2] = new PowerShot(0.2f, 0.2f); allshots[3] = new PowerFocus(0.2f, 0.3f); allshots[4] = new PowerFocus(0.2f, 0.25f); allshots[5] = new PowerFocus(0.2f, 0.2f); bomb = new Magicannon(); }
public Model ShotTypeSetter(IShotType first, IShotType second, IShotType third) { if (allMainShots == null) { allMainShots = new List <IShotType>(); } else { allMainShots.Clear(); } allMainShots.Add(first.SetModel(this)); allMainShots.Add(second.SetModel(this)); allMainShots.Add(third.SetModel(this)); shotType = first; return(this); }
void PowerChanger(IShotType mainShot, IShotType secondShot, IShotType focusShot) { _h.shotType = mainShot; _h.secondaryShotType = secondShot; _h.focusShotType = focusShot; }
public WeaponObject(WeaponData _data, int _ammoInClip, IShotType _shotType) { ShotType = _shotType; Data = _data; AmmoInClip = _ammoInClip; }