mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-04 10:55:55 +00:00
New boss system
This commit is contained in:
parent
0322748d86
commit
c2a72e4e77
14 changed files with 480 additions and 11 deletions
|
|
@ -18,7 +18,7 @@ public partial class BossPhase : Resource
|
|||
|
||||
private IPatternMachine _patternMachine;
|
||||
|
||||
public void Start(Boss boss)
|
||||
public void Start(Node2D boss)
|
||||
{
|
||||
currentPatternIndex = 0;
|
||||
_patternMachine = Patterns[currentPatternIndex].MakeMachine(boss);
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ public partial class RogueliteMapTheme : Resource
|
|||
[Export] public PackedScene HorizontalSouthWallPrefab { get; set; }
|
||||
[Export] public PackedScene VerticalDoorPrefab { get; set; }
|
||||
[Export] public PackedScene VerticalWallPrefab { get; set; }
|
||||
[Export] public PackedScene VerticalSecretDoorPrefab { get; set; }
|
||||
[Export] public PackedScene DoorLockPrefab { get; set; }
|
||||
[Export] public PackedScene KeyCardPrefab { get; set; }
|
||||
[Export] public PackedScene ChestPrefab { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue