Refactored boss fight to pull out the FSM code into boss::Fight.

This commit is contained in:
Zed A. Shaw 2025-09-29 13:19:59 -04:00
parent 3b11ed0a75
commit 61a40ae7cd
11 changed files with 127 additions and 94 deletions

View file

@ -4,15 +4,15 @@
{"_type": "BossFight",
"background": "test_background",
"floor": "test_floor",
"floor_pos": "floor4",
"floor_pos": "floor2",
"player": {
"sprite": "test_player",
"start_pos": "player1",
"start_pos": "player2",
"scale": 0.5,
"mid_cell": false
},
"boss": {
"start_pos": "boss2",
"start_pos": "boss3",
"scale": 0.7,
"mid_cell": true
}