Game Development Reference
In-Depth Information
Implementing the MissionMgr script
The
MissionMgr
class tracks the user's progress through abstract objectives.
These objectives will be learning objectives that satisfy the game design. The pattern
we use to manage missions will be similar to
InventoryMgr
; however, this system
will be in charge of comparing the player's objectives with a master list of missions
and with what is required to complete each one. To develop it, let's perform the fol-
lowing steps:
1. To accomplish this work,
MissionMgr
will need two lists. One list to hold all
of the missions that the player could try and solve and another for the current
tokens that the player has acquired (through interacting with interactive ob-