Files
GameJamDungeon/Zennysoft.Game.Ma/src/map/IMap.cs
2026-02-03 20:52:14 -08:00

31 lines
617 B
C#

using Chickensoft.Collections;
using Chickensoft.GodotNodeInterfaces;
using Godot;
using System;
using System.Threading.Tasks;
namespace Zennysoft.Game.Ma;
public interface IMap : INode3D
{
Task LoadFloor();
Task LoadFloor(string sceneName);
void ClearMap();
IDungeonFloor CurrentFloor { get; }
(Vector3 Rotation, Vector3 Position) GetPlayerSpawnPosition();
IDungeonRoom GetPlayersCurrentRoom();
void InitializeMapData();
public AutoProp<int> CurrentFloorNumber { get; }
public event Action<(Vector3 Rotation, Vector3 Position)> SpawnPointCreated;
public event Action FloorLoaded;
}