Implement cutscene for gambling and make it dopamine-inducing
This commit is contained in:
@@ -11,6 +11,7 @@ namespace KernelPanic.Core
|
||||
{
|
||||
public const string MainMenuSceneName = "MainMenuScene";
|
||||
public const string GameSceneName = "GameScene";
|
||||
public const string GamblingSceneName = "GamblingScene";
|
||||
|
||||
private const string CurtainClassName = "scene-fade-curtain";
|
||||
private const string CurtainVisibleClassName = "scene-fade-visible";
|
||||
@@ -26,6 +27,11 @@ namespace KernelPanic.Core
|
||||
FadeThenLoad(fadeRoot, GameSceneName);
|
||||
}
|
||||
|
||||
public static void LoadGambling(VisualElement fadeRoot)
|
||||
{
|
||||
FadeThenLoad(fadeRoot, GamblingSceneName);
|
||||
}
|
||||
|
||||
private static void FadeThenLoad(VisualElement fadeRoot, string sceneName)
|
||||
{
|
||||
if (fadeRoot == null)
|
||||
|
||||
Reference in New Issue
Block a user