Rework game over logic and game initialization

This commit is contained in:
2025-10-27 15:04:01 -07:00
parent 720696aed0
commit 7e6dca1c29
46 changed files with 653 additions and 610 deletions

View File

@@ -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;
}