- This event has passed.
7 PM – Intro To Java – Darin
August 12 @ 7:00 pm - 8:00 pm
What We Did Today:
- Continued the Monster Inheritance Project, implementing the play method for attacking and healing the monsters.
- Introduced Inheritance in Java through the magic attack system.
Homework:
Submit your code to the google drive when you are finished!
- Create the arrowAttack method for selection 3 in the play method, where you deal a random amount of damage from 5 – 20 to the selected monster.
- Create the getAttacked method where the monster attacks you with a random amount from (a lower bound u make up) to (m.getMaxAttack()) and use it in all 3 attack methods in play().
Notes:
If you have any questions, you can email me at ddjapri@ayclogic.com
AYC Logic’s observed holidays: https://www.ayclogic.com/observed-holidays/