✨Added end of night scene
This commit is contained in:
@@ -14,8 +14,14 @@ public partial class FightWorld : Node
|
||||
|
||||
public class Room
|
||||
{
|
||||
public enum Special
|
||||
{
|
||||
None,
|
||||
EndOfNight
|
||||
}
|
||||
public required Dictionary<int, Room> paths;
|
||||
public required List<FighterGroup> enemyGroups;
|
||||
public Special specialRoom = Special.None;
|
||||
}
|
||||
|
||||
public class FighterGroup
|
||||
@@ -108,6 +114,13 @@ public partial class FightWorld : Node
|
||||
{
|
||||
rooms.Add(GenerateDisconnectedRoom());
|
||||
}
|
||||
|
||||
rooms.Add(new Room
|
||||
{
|
||||
paths = [],
|
||||
enemyGroups = [],
|
||||
specialRoom = Room.Special.EndOfNight
|
||||
});
|
||||
|
||||
// Connect rooms linearly
|
||||
for (var i = 0; i < rooms.Count - 1; i++)
|
||||
|
||||
Reference in New Issue
Block a user