[Solved] CSCE693 Homework4-list of abstract GameObjects

$25

File Name: CSCE693_Homework4-list_of_abstract_GameObjects.zip
File Size: 433.32 KB

SKU: [Solved] CSCE693 Homework4-list of abstract GameObjects Category: Tag:
5/5 - (1 vote)
  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 GameObjects 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.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CSCE693 Homework4-list of abstract GameObjects
$25