1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-09-09 21:14:21 -04:00
OpenDiablo2/OpenDiablo2.Common/Interfaces/IGameState.cs

29 lines
936 B
C#
Raw Normal View History

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; }
2018-11-25 14:15:13 -05:00
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);
}
}