Assignment 3 (20/30)


Step 1:Create a new class called AssetManager. In class I will show you how add to new methods based on what we did in Actor.h.



Step 2: Add an unordered_map to the class.


Step 3: In the constructor of the AssetManager add all the components yopuu are going to need for your scene.

Step 4: Create a object of type AssetManager in your new Scene and use it to create all the Actors you need.

For added marks try the following: (Up to 10% each)

  • Extra: Create a chess set instead of the checkers (They must be placed properly)
  • Extra: Place all the actors in a container like a std::vector. The simplify the render() to loop over all the Actor.