2018-11-28 19:28:41 -05:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using OpenDiablo2.Common.Enums;
|
2018-11-24 22:34:16 -05:00
|
|
|
|
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; }
|
2018-11-24 22:34:16 -05:00
|
|
|
|
string MapName { get; }
|
|
|
|
|
Palette CurrentPalette { get; }
|
|
|
|
|
|
|
|
|
|
void Initialize(string text, eHero value);
|
2018-11-28 19:28:41 -05:00
|
|
|
|
void Update(long ms);
|
|
|
|
|
IEnumerable<MapCellInfo> GetMapCellInfo(int cellX, int cellY, eRenderCellType renderCellType);
|
|
|
|
|
void UpdateMapCellInfo(int cellX, int cellY, eRenderCellType renderCellType, IEnumerable<MapCellInfo> mapCellInfo);
|
2018-11-24 22:34:16 -05:00
|
|
|
|
}
|
|
|
|
|
}
|