1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-08-08 13:14:17 -04:00
OpenDiablo2/OpenDiablo2.Common/Interfaces/IGameState.cs
Diego M f3793e0a60 Basic Character Panel and Inventory Panel drawing (#30)
* Initial minipanel work
* Character and Inventory panel implementation, frame included
* Separate panel frame from the actual inventory and character panels so they can be reused by other panels
2018-11-29 19:11:25 -05:00

29 lines
936 B
C#

using System.Collections.Generic;
using System.Drawing;
using OpenDiablo2.Common.Enums;
using OpenDiablo2.Common.Models;
namespace OpenDiablo2.Common.Interfaces
{
public interface IGameState
{
int Act { get; }
int Seed { get; }
string MapName { get; }
Palette CurrentPalette { get; }
bool ToggleShowInventoryPanel();
bool ShowInventoryPanel { get; set; }
bool ToggleShowCharacterPanel();
bool ShowCharacterPanel { get; set; }
void Initialize(string text, eHero value);
void Update(long ms);
IEnumerable<MapCellInfo> GetMapCellInfo(int cellX, int cellY, eRenderCellType renderCellType);
void UpdateMapCellInfo(int cellX, int cellY, eRenderCellType renderCellType, IEnumerable<MapCellInfo> mapCellInfo);
MapInfo LoadMap(eLevelId levelId, Point origin);
MapInfo LoadSubMap(int levelDefId, Point origin);
}
}