Example #1
0
 public GameData(TankActor tankActor)
 {
     playerScore         = PickupManager.GetPlayerScore();
     playerHealth        = tankActor.healthComp.currentHP;
     numPickupsCollected = PickupManager.GetNumCollectedPickups();
     numPickupsLost      = PickupManager.GetNumLostPickups();
     numPickupsTotal     = PickupManager.GetNumPickupsInLevel();
     levelNum            = LevelManager.GetLevelNum();
 }