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

29 lines
531 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; }
Transform3D GetPlayerSpawnPosition();
IDungeonRoom GetPlayersCurrentRoom();
void InitializeMapData();
public AutoProp<int> CurrentFloorNumber { get; }
public event Action<Transform3D> SpawnPointCreated;
}