Start demon wall implementation
This commit is contained in:
@@ -10,16 +10,16 @@ public partial class BossFloor : Node3D, IDungeonFloor
|
||||
{
|
||||
public override void _Notification(int what) => this.Notify(what);
|
||||
|
||||
[Node] private BossRoomA BossFloorA { get; set; } = default!;
|
||||
[Node] private IBossRoom BossFloorRoom { get; set; } = default!;
|
||||
|
||||
public ImmutableList<IDungeonRoom> Rooms => [];
|
||||
|
||||
public void InitializeDungeon()
|
||||
{
|
||||
FloorIsLoaded = true;
|
||||
FloorIsLoaded = true;
|
||||
}
|
||||
|
||||
public bool FloorIsLoaded { get; set; }
|
||||
|
||||
public Transform3D GetPlayerSpawnPoint() => BossFloorA.PlayerSpawn.GlobalTransform;
|
||||
public Transform3D GetPlayerSpawnPoint() => BossFloorRoom.PlayerSpawn.GlobalTransform;
|
||||
}
|
||||
|
||||
23
Zennysoft.Game.Ma/src/map/dungeon/code/BossRoomB.cs
Normal file
23
Zennysoft.Game.Ma/src/map/dungeon/code/BossRoomB.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using Chickensoft.AutoInject;
|
||||
using Chickensoft.Introspection;
|
||||
using Godot;
|
||||
|
||||
namespace Zennysoft.Game.Ma;
|
||||
|
||||
[Meta(typeof(IAutoNode))]
|
||||
public partial class BossRoomB : Node3D, IBossRoom
|
||||
{
|
||||
public override void _Notification(int what) => this.Notify(what);
|
||||
|
||||
[Node] public Marker3D PlayerSpawn { get; set; } = default!;
|
||||
|
||||
public void OnBossFightEnded()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void StartBossFight()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
1
Zennysoft.Game.Ma/src/map/dungeon/code/BossRoomB.cs.uid
Normal file
1
Zennysoft.Game.Ma/src/map/dungeon/code/BossRoomB.cs.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://cvj30id0i8ska
|
||||
Reference in New Issue
Block a user