COMP350-Fall2022 / ArtemisFission

2 stars 0 forks source link

Added ResourceDisplay #74

Closed jalexcrawford closed 1 year ago

jalexcrawford commented 1 year ago

Added ResourceDisplay script that create a new Resources object with Money, Parts, and Morale set to 500,000, 0 and 0 respectively.

For every frame it will pull new data from the resources object and display it on the screen.

jalexcrawford commented 1 year ago

Updated GetMorale to be GetTotalMorale and found that I needed to have the code in GameController in order to update it on the screen.