Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please assist Suppose that you are creating an object-oriented design for a 2D arcade game. Everything on the screen is a game object and has
please assist
Suppose that you are creating an object-oriented design for a 2D arcade game. Everything on the screen is a game object and has a height and width. Some game objects are capable of moving and some are capable of shooting - these behaviours are independent of one another. So there are: - Stationary, non-shooting game objects - Moving, non-shooting game objects - Stationary, shooting game objects - Moving, shooting game objects Different game objects can shoot and move in different ways. For example, in the case of moving objects there are vertically moving objects and horizontally moving objects. a) Give two different designs which model this scenario. For each design provide a UML class diagram and a brief description which clearly explains your approach. (12 marks) b) Compare your two designs by describing their advantages and disadvantages, and provide a justification for the one that you would ultimately choose. (8 marks)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started