CPSC 233 W08 T12

From AGg Wiki
Jump to: navigation, search

Main Page

  • Today:
    • More junit stuff, specifically, how do you create a TestAll class?
    • Inheritance
      • exercise code: RPG.zip
      • I would like you guys to create a Mage, that extends Person
      • Create the mage with baseIntellect += 10
      • When the mage eats Fruit, make his intellect increase by twice the amount contained in the fruit
      • I would like you to add a fruit of type Embrosia, this fruit should give 100 intellect
    • Here is a really great Java tutorial on Inheritance, Polymorphism and Interfaces