PageRenderTime 36ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/WorldView/Structures/SymbolLoc.cs

#
C# | 39 lines | 33 code | 4 blank | 2 comment | 0 complexity | 361ffc6246a54d2bf607375976502b1d MD5 | raw file
  1. using System;
  2. using System.Drawing;
  3. namespace MoreTerra.Structures
  4. {
  5. // Used to store both the point and the count of a marker we need to draw on the map.
  6. // This way we can set up a filter system to show only sets large enough to be of interest.
  7. public class MarkerLoc
  8. {
  9. private Point _pv;
  10. private int _count;
  11. #region Constructors
  12. public MarkerLoc(Point p, int c)
  13. {
  14. _pv = p;
  15. _count = c;
  16. }
  17. #endregion
  18. #region GetSet Functions
  19. public Point pv
  20. {
  21. get
  22. {
  23. return _pv;
  24. }
  25. }
  26. public int count
  27. {
  28. get
  29. {
  30. return _count;
  31. }
  32. }
  33. #endregion
  34. }
  35. }