You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
667 B
21 lines
667 B
using Godot;
|
|
|
|
namespace Babushka.scripts.CSharp.Common.Fight;
|
|
|
|
public partial class FightRoomSceneSetup : Node
|
|
{
|
|
[Export] private Label debugLabel;
|
|
public override void _Ready()
|
|
{
|
|
var room = FightWorld.Instance.currentRoom!;
|
|
debugLabel.Text = $"Room Debug:\n{room.paths.Count} paths out of this room\n{room.enemyGroups.Count} enemy groups:\n";
|
|
foreach (var enemyGroup in room.enemyGroups)
|
|
{
|
|
debugLabel.Text += $" {enemyGroup.enemies.Count} enemies:\n";
|
|
foreach (var enemy in enemyGroup.enemies)
|
|
{
|
|
debugLabel.Text += $" {enemy.type}\n";
|
|
}
|
|
}
|
|
}
|
|
} |