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