PatternGroupData.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #region File Description
  2. //-----------------------------------------------------------------------------
  3. // PatternGroupData.cs
  4. //
  5. // Microsoft XNA Community Game Platform
  6. // Copyright (C) Microsoft Corporation. All rights reserved.
  7. //-----------------------------------------------------------------------------
  8. #endregion
  9. #region Using Statements
  10. using System;
  11. using System.Collections.Generic;
  12. using System.Text;
  13. using Microsoft.Xna.Framework.Content;
  14. #endregion
  15. namespace SceneDataLibrary
  16. {
  17. /// <summary>
  18. /// This class manages the data of multiple pattern objects.
  19. /// In Layout, pattern groups correspond to these pattern objects.
  20. /// Sequence objects refer to these pattern groups and display them.
  21. ///
  22. /// 複数のパターンオブジェクトデータをまとめて保持するクラスです。
  23. /// Layoutではパターングループが相当します。
  24. /// シーケンスオブジェクトは、このパターングループを
  25. /// 参照・表示します。
  26. /// </summary>
  27. public class PatternGroupData
  28. {
  29. private List<PatternObjectData> patternObjectList =
  30. new List<PatternObjectData>();
  31. #region Properties
  32. /// <summary>
  33. /// Obtains and sets the list of pattern data.
  34. /// This list can be also used to display a certain pattern.
  35. /// For details of pattern display, refer to the PatternObjectData.Draw function.
  36. ///
  37. /// パターンデータのリストを設定取得します。
  38. /// このリストの内容から、任意のパターンを表示することも可能です。
  39. /// 表示の詳細は、PatternObjectData.Draw関数を参照ください。
  40. /// </summary>
  41. public List<PatternObjectData> PatternObjectList
  42. {
  43. get
  44. {
  45. if (null == patternObjectList)
  46. patternObjectList = new List<PatternObjectData>();
  47. return patternObjectList;
  48. }
  49. }
  50. #endregion
  51. }
  52. }