TimeBetweenPhase Flag.
This commit is contained in:
parent
66fd85af1f
commit
dc68375ec8
@ -32,6 +32,7 @@ public abstract class GameTutorial
|
||||
public boolean SetTutorialPositions = true;
|
||||
public boolean TeleportOnEnd = true;
|
||||
|
||||
public long TimeBetweenPhase = 0;
|
||||
public long StartAfterTutorial = 5000;
|
||||
|
||||
public GameTutorial(ArcadeManager manager, TutorialPhase[] phases)
|
||||
|
@ -103,7 +103,7 @@ public abstract class TutorialPhase
|
||||
TutorialText text = getNextMessage();
|
||||
if(text == null)
|
||||
{
|
||||
_tutorial.Manager.runSync(new Runnable()
|
||||
_tutorial.Manager.runSyncLater(new Runnable()
|
||||
{
|
||||
@Override
|
||||
public void run()
|
||||
@ -112,7 +112,7 @@ public abstract class TutorialPhase
|
||||
onEnd();
|
||||
_tutorial.nextPhase(false);
|
||||
}
|
||||
});
|
||||
}, getTutorial().TimeBetweenPhase);
|
||||
break;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user