RunTasksSync Flag.
This commit is contained in:
parent
dc68375ec8
commit
e2cfcef55b
@ -31,6 +31,7 @@ public abstract class GameTutorial
|
||||
|
||||
public boolean SetTutorialPositions = true;
|
||||
public boolean TeleportOnEnd = true;
|
||||
public boolean RunTasksSync = true;
|
||||
|
||||
public long TimeBetweenPhase = 0;
|
||||
public long StartAfterTutorial = 5000;
|
||||
|
@ -141,6 +141,8 @@ public abstract class TutorialPhase
|
||||
}
|
||||
|
||||
private void displayMessage(final TutorialText text)
|
||||
{
|
||||
if(_tutorial.RunTasksSync)
|
||||
{
|
||||
_tutorial.Manager.runSync(new Runnable()
|
||||
{
|
||||
@ -151,6 +153,11 @@ public abstract class TutorialPhase
|
||||
}
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
onMessageDisplay(text);
|
||||
}
|
||||
}
|
||||
|
||||
protected TutorialText getNextMessage()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user