TimeBetweenPhase Flag.

This commit is contained in:
Sarah 2015-11-29 21:48:39 +01:00
parent 66fd85af1f
commit dc68375ec8
2 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -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