mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-10-23 20:20:10 -04:00
20 lines
623 B
C#
20 lines
623 B
C#
using System.Collections.Generic;
|
|
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; }
|
|
|
|
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);
|
|
}
|
|
}
|