26 lines
618 B
C#
26 lines
618 B
C#
using Chickensoft.AutoInject;
|
|
using Chickensoft.Introspection;
|
|
using Godot;
|
|
using System.Collections.Immutable;
|
|
|
|
namespace Zennysoft.Game.Ma;
|
|
|
|
[Meta(typeof(IAutoNode))]
|
|
public partial class BossFloor : Node3D, IDungeonFloor
|
|
{
|
|
public override void _Notification(int what) => this.Notify(what);
|
|
|
|
[Node] private IBossRoom BossFloorRoom { get; set; } = default!;
|
|
|
|
public ImmutableList<IDungeonRoom> Rooms => [];
|
|
|
|
public void InitializeDungeon()
|
|
{
|
|
FloorIsLoaded = true;
|
|
}
|
|
|
|
public bool FloorIsLoaded { get; set; }
|
|
|
|
public Transform3D GetPlayerSpawnPoint() => BossFloorRoom.PlayerSpawn.GlobalTransform;
|
|
}
|