Rework game over logic and game initialization
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using Chickensoft.Collections;
|
||||
using Chickensoft.GodotNodeInterfaces;
|
||||
using Godot;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Zennysoft.Game.Ma;
|
||||
@@ -11,6 +12,8 @@ public interface IMap : INode3D
|
||||
|
||||
Task LoadFloor(string sceneName);
|
||||
|
||||
void ClearMap();
|
||||
|
||||
IDungeonFloor CurrentFloor { get; }
|
||||
|
||||
Transform3D GetPlayerSpawnPosition();
|
||||
@@ -20,4 +23,6 @@ public interface IMap : INode3D
|
||||
void InitializeMapData();
|
||||
|
||||
public AutoProp<int> CurrentFloorNumber { get; }
|
||||
|
||||
public event Action<Transform3D> SpawnPointCreated;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user