Weapon - JayhawkZombie/EECS581Project GitHub Wiki

Derived From

Item

Dependencies

  • Item

MemberVariables

  • Damage m_addedDamage //gets added to the basic attacks etc
  • bool m_rightHand //Does the Weapon Occupy the Right Hand?
    • BroadSword, ShortSword, Wand
  • bool m_leftHand // Does the Weapon Occupy the Left Hand?
    • Shield, parrying Knife, Orb
    • Can Occupy Both left and right at the same time- Staff, Claymore, Maul etc
    • Must occupy at least one

Methods

  • static int Num()
  • returns the number of total Items

OldVersion

The Old Version contained all of the items in one class, our new implementation won't need a limit or a type for example