[SOLVED] CSCE693 Homework4-list of abstract GameObjects

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon a4-dtvhmk.zip (3485.7 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (2 votes)
  1.  Create a list (e.g., std::vector) of abstract GameObjects that the Game class manages and executes. A game object should call both update() and render() using this list.  Redesign the existing GameObject class to be abstract as discussed in class.

When the list is deleted it should delete all of its’ “contained” GameObjects (hint: store std::unique_ptr<>() to manage a concrete GameObject’s lifetimes).

  1. Create 3 concrete subclasses of the abstract GameObject to represent a Tank, Chopper and Pacman. Each of these subclasses should (upon creation) load the image associated with it (Tank -> “tank-big-down.png”, Chopper -> “choppersingle.png” and Pacman -> “pacman_32x32.png”) which is stored in the assets/images folder.
  • a4-dtvhmk.zip