Closed 9728627 closed 6 years ago
This seems like a hacky way to implement https://github.com/UCSB-CS56-Projects/cs56-games-fish-animation/issues/65. I'll give you some points for this, but not all. A better, cleaner approach would be to implement a Character
base class with Shark
and Whale
subclasses.
pushed
Hey, Kevin. Can you help me check this PR? Is it good to go? Thanks a lot.
whale and shark have differnt MAXhealth whale: 100 shark: 50
whenever whale eat fish, it will add less health than shark. However, evenever whale accesses the jellyfish, it will loss more health than shark.