✨Added theme-based region colors
This commit is contained in:
@@ -25,12 +25,12 @@ public partial class FightMinigameHandler : Node
|
||||
if(currentDetail is not MinigameActionDetail minigameDetail) return;
|
||||
|
||||
_minigameController.Run(new MinigameController.Builder<int>()
|
||||
.AddRegion(4).RegionWithText("4")
|
||||
.AddRegion(0).RegionWithProportion(1.5f).RegionWithText("0")
|
||||
.AddRegion(8).RegionWithProportion(0.5f).RegionWithText("8")
|
||||
.AddRegion(0).RegionWithProportion(1.5f).RegionWithText("0")
|
||||
.AddRegion(3).RegionWithText("3")
|
||||
.AddRegion(5).RegionWithText("5")
|
||||
.AddRegion(4).RegionWithText("4").RegionWithTheme(MinigameController.RegionTheme.Normal)
|
||||
.AddRegion(0).RegionWithProportion(1.5f).RegionWithText("0").RegionWithTheme(MinigameController.RegionTheme.Bad)
|
||||
.AddRegion(8).RegionWithProportion(0.5f).RegionWithText("8").RegionWithTheme(MinigameController.RegionTheme.VeryGood)
|
||||
.AddRegion(0).RegionWithProportion(1.5f).RegionWithText("0").RegionWithTheme(MinigameController.RegionTheme.Bad)
|
||||
.AddRegion(3).RegionWithText("3").RegionWithTheme(MinigameController.RegionTheme.NormalAlt1)
|
||||
.AddRegion(5).RegionWithText("5").RegionWithTheme(MinigameController.RegionTheme.NormalAlt2)
|
||||
.WithHitCount(3)
|
||||
).ContinueWith(task =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user