Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

add at least three new behaviors to the Pet I will need to add at least three new behaviors to the Pet ( link:...

  • add at least three new behaviors to the Pet

I will need to add at least three new behaviors to the Pet (link:

https://users.soe.ucsc.edu/~dustinadams/CMPS5J/assignment_code/Pet.pde) class or create you own

virtual pet that similar to the Pet class but with its own unique set of behaviors. In this later case your pet

must have at least 3 behaviors. It is not necessary for your class to be visually sophisticated. It in fact does

not need to be even as complex as my very crude drawing of a dog. The key is to demonstrate some

understanding 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).

This is intended to be a relatively short assignment that could be completed in one lab session if you come to

lab prepared to dive in, having read through this specification and spent some time studying the Pet (link:

https://users.soe.ucsc.edu/~dustinadams/CMPS5J/assignment_code/Pet.pde) class and VPet (link:

https://users.soe.ucsc.edu/~dustinadams/CMPS5J/assignment_code/VPet.pde) program that controls the

pet.

You can download a zip file of both if preferred (link:

https://users.soe.ucsc.edu/~dustinadams/CMPS5J/assignment_code/VPet.zip).

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question