Example #1
0
 /// <summary>
 /// Time limit of dropping customer of a picking them of.
 /// </summary>
 /// <returns>
 /// True if time to drop cusotmer of has expired.
 /// </returns>
 /// <remarks>
 /// If this is true, game has ended.
 /// (because the taxi did not make it in time)
 /// </remarks>
 public bool TimeToDropHasExpired()
 {
     return(timeToDrop.HasExpired());
 }
Example #2
0
 /// <summary>
 /// Checks if release timer has not expired
 /// </summary>
 /// <returns>Bool checking if it has not expired</returns>
 public bool ReleaseTimer()
 {
     return(!releaseTimer.HasExpired());
 }
Example #3
0
        /// <summary>
        /// Checks if customer should pop up and render in game
        /// </summary>
        /// <returns>
        /// If this is true game should render customer.
        /// </returns>

        public bool CountHasExpired()
        {
            return(countTime.HasExpired());
        }
Example #4
0
 /// <summary>
 /// Has spawn timer expired
 /// </summary>
 /// <returns>boolean telling if timer has expired</returns>
 public bool SpawnTimer()
 {
     return(spawnTimer.HasExpired());
 }