virtual_pet
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| virtual_pet [2026/03/01 14:57] – [Activity 4] frchris | virtual_pet [2026/03/01 15:02] (current) – [Part C] frchris | ||
|---|---|---|---|
| Line 181: | Line 181: | ||
| } | } | ||
| </ | </ | ||
| - | ==== Part C ==== | + | |
| Line 343: | Line 343: | ||
| } | } | ||
| </ | </ | ||
| - | ==== GUI Based Runner for Activity 4 ==== | + | ==== Part C Putting it all together ==== |
| + | |||
| + | Now that we have a Game and Food class, let’s revise the VirtualPet class to include interactions with these classes. | ||
| + | - Write the class VirtualPet4. You may copy your code implementation of VirtualPet from Activity 3 but be sure to modify the class header and constructor to match the new class name. | ||
| + | |||
| + | - Modify the '' | ||
| + | |||
| + | - Modify the '' | ||
| + | |||
| + | === GUI Based Runner for Activity 4 === | ||
| - [[https:// | - [[https:// | ||
virtual_pet.1772395020.txt.gz · Last modified: by frchris
