travis-boyd / CSC492-How2

1 stars 0 forks source link

Objective tracking #55

Closed travis-boyd closed 11 months ago

travis-boyd commented 11 months ago

A working system to track objectives within a level. Two classes: ObjectiveManager that can be hooked into the UI prefab and called on to manipulate tracked objectives, and Objective, and data type that contains basic info on objective (title, description, isComplete). It includes a prefab UI panel with text boxes listing the current objectives. It has easy methods like UIObjectiveAdd and UIObjectiveRemove that add and remove objectives to the HUD. Objective objects are easy to create, they accept two strings "title" and "description". This isn't game logic that determines when objectives are complete, it just tracks