You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

EnvConfig.cs 851B

123456789101112131415161718192021222324252627282930
  1. namespace uqac_ia_aspirobot.Environment
  2. {
  3. public class EnvConfig
  4. {
  5. public int Width { get; set; }
  6. public int Height { get; set; }
  7. public float ActionPropability { get; set; }
  8. public float AddJewelProbability { get; set; }
  9. public float RemoveJewelProbability { get; set; }
  10. public float AddDustProbability { get; set; }
  11. public int SleepTime { get; set; }
  12. public void CopyTo(EnvConfig other)
  13. {
  14. other.Width = Width;
  15. other.Height = Height;
  16. other.ActionPropability = ActionPropability;
  17. other.AddJewelProbability = AddJewelProbability;
  18. other.RemoveJewelProbability = RemoveJewelProbability;
  19. other.AddDustProbability = AddDustProbability;
  20. other.SleepTime = SleepTime;
  21. }
  22. }
  23. }