IGMData_Footer.cs 727 B

123456789101112131415161718192021222324252627
  1. using Microsoft.Xna.Framework;
  2. namespace OpenVIII
  3. {
  4. public partial class IGM
  5. {
  6. #region Classes
  7. private class IGMData_Footer : IGMData.Base
  8. {
  9. #region Methods
  10. public static IGMData_Footer Create() => Create<IGMData_Footer>(0, 0, new IGMDataItem.Box { Pos = new Rectangle { Width = 610, Height = 75, Y = 630 - 75 } });
  11. public override void Refresh()
  12. {
  13. base.Refresh();
  14. if (CONTAINER != null)
  15. ((IGMDataItem.Box)CONTAINER).Data = Memory.Strings.Read(Strings.FileID.AREAMES, 0, Memory.State.LocationID);
  16. }
  17. #endregion Methods
  18. }
  19. #endregion Classes
  20. }
  21. }