public bool BackupBoost(PowerUpBoost p) { if (boost.Count < 4) { boost.Add(p); return(true); } return(false); }
//Adds the boost to the list so it can be used and restore --DONE public bool AddNitro(PowerUpBoost p) { if (bs.BackupBoost(p)) { if (!ch.IsBoostActive()) { ch.ActivateBoost(true); } ch.UpdateBoost(bs.BoostCount()); return(true); } return(false); }