Question: For this question, please do #2 and create a class diagram. Create a document: Create a list of 6 bad guys for the next projects

For this question, please do #2 and create a class diagram.

For this question, please do #2 and create a class diagram. Create

Create a document: Create a list of 6 bad guys for the next projects game; a primitive version of the game can be played here http://www.brackeen.com/iavagamebook/tilegame.inlp (internet connection required for this demo). From the demo you can see that a fly and a caterpillar already exist. Assume that these bad guys extend from the class BadGuy. Make sure that 1 extends from Fly (for example something like SuperFly extends Fly) and 1 extends from Caterpillar. The rest should extend from the class BadGuy, or extend from a new bad buy you created (for example SuperCockroach extends Cockroach). Be sure to describe how each of the 6 of your bad guys behaves (how does it move? Does it take more than one hit to defeat it?) NOTE: If you cannot play the above game due to security settings of your browser (very likely) that is fine. Imagine a platformer game similar to Mario (in almost every way, including jumping on their heads to defeat them), and create your bad guys based on that. 1. 2. Design a class diagram: Using the list from above, create a class diagram to represent your bad guy classes. The root class to start with is BadGuy. You may make any assumptions to what BadGuy contains in it (for example, BadGuy could have a int hits variable that specifies how many hits a bad guy can take before it is defeated)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!