Files
GameJamDungeon/Zennysoft.Game.Ma/src/map/IMap.cs

28 lines
624 B
C#

using Chickensoft.AutoInject;
using Chickensoft.Collections;
using Chickensoft.GodotNodeInterfaces;
using Chickensoft.SaveFileBuilder;
using Godot;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Zennysoft.Ma.Adapter;
namespace Zennysoft.Game.Ma;
public interface IMap : INode3D, IProvide<ISaveChunk<MapData>>
{
Task LoadFloor();
ImmutableDictionary<Floor, string> FloorScenes { get; }
IDungeonFloor CurrentFloor { get; }
Transform3D GetPlayerSpawnPosition();
IDungeonRoom GetPlayersCurrentRoom();
void InitializeMapData();
public AutoProp<int> CurrentFloorNumber { get; }
}