Question: For this assignment you will need to add at least three new behaviors to the following code class or create your own virtual pet that similar to the Pet class but with its own unique set of behaviors. In this later case your petmust have at least 3 behaviors. It is not necessary for your class to be visually sophisticated. It in fact doesnot need to be even as complex as my very crude drawing of a dog. The key is to demonstrate someunderstanding of a class as representing an object with state (pose, tail wag angle, and location for the dog)and operations that can be performed on that object (make it change pose and render itself as a drawing).
Information related to above question is enclosed below:
Attachment:- CS.rar