final tutorial implementation.
This commit is contained in:
parent
15032ac7ff
commit
171696ff0d
@ -146,22 +146,14 @@ public class GameManager implements Listener
|
|||||||
boolean finished = true;
|
boolean finished = true;
|
||||||
if(game.EnableTutorials)
|
if(game.EnableTutorials)
|
||||||
{
|
{
|
||||||
for(final GameTeam team : game.GetTeamList())
|
for(GameTeam team : game.GetTeamList())
|
||||||
{
|
{
|
||||||
if(team.getTutorial() != null)
|
if(team.getTutorial() != null)
|
||||||
{
|
{
|
||||||
if(!team.getTutorial().hasStarted())
|
if(!team.getTutorial().hasStarted())
|
||||||
{
|
{
|
||||||
Manager.runSync(new Runnable()
|
team.getTutorial().setTeam(team);
|
||||||
{
|
team.getTutorial().start();
|
||||||
|
|
||||||
@Override
|
|
||||||
public void run()
|
|
||||||
{
|
|
||||||
team.getTutorial().setTeam(team);
|
|
||||||
team.getTutorial().start();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
if(!team.getTutorial().hasEnded())
|
if(!team.getTutorial().hasEnded())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user