IBudgetEntry.cs 361 B

1234567891011121314151617181920
  1. namespace Content.Shared.Random;
  2. /// <summary>
  3. /// Budgeted random spawn entry.
  4. /// </summary>
  5. public interface IBudgetEntry : IProbEntry
  6. {
  7. float Cost { get; set; }
  8. string Proto { get; set; }
  9. }
  10. /// <summary>
  11. /// Random entry that has a prob. See <see cref="RandomSystem"/>
  12. /// </summary>
  13. public interface IProbEntry
  14. {
  15. float Prob { get; set; }
  16. }