TreeInfoViewModel.cs 413 B

123456789101112131415161718192021222324252627282930
  1. namespace Modules.BehaviorTreeModule
  2. {
  3. public class TreeInfoViewModel
  4. {
  5. private readonly int id;
  6. private readonly string comment;
  7. public TreeInfoViewModel(int id, string comment)
  8. {
  9. this.id = id;
  10. this.comment = comment;
  11. }
  12. public int Id
  13. {
  14. get
  15. {
  16. return this.id;
  17. }
  18. }
  19. public string Comment
  20. {
  21. get
  22. {
  23. return this.comment;
  24. }
  25. }
  26. }
  27. }