示例#1
0
 /// <summary>
 ///     Changes the current ration level to new value if it is not already set to that. Also fires even about this for
 ///     subscribers to get event notification about the change.
 /// </summary>
 /// <param name="ration">The rate at which people are permitted to eat in the vehicle party.</param>
 public void ChangeRations(RationLevel ration)
 {
     Ration = ration;
 }
示例#2
0
 /// <summary>
 ///     Changes the current ration level to new value if it is not already set to that. Also fires even about this for
 ///     subscribers to get event notification about the change.
 /// </summary>
 /// <param name="ration">The rate at which people are permitted to eat in the vehicle party.</param>
 public void ChangeRations(RationLevel ration)
 {
     Ration = ration;
 }