private void Start()
    {
        // this is so that we always have a stat to go off of, just in case I forget to put them on
        WeaponStat = TypeOfStats.Strength;
        // these are so that when we have variations we can just create derived classes that override only what they need to.

        SetUpBaseClass();
        SetUpSpecifics();
    }
示例#2
0
 public Item(TypeOfStats typeOfStats, int value)
 {
     this.typeOfStats = typeOfStats;
     this.value       = value;
 }