Created
February 1, 2011 14:39
-
-
Save MattesGroeger/805939 to your computer and use it in GitHub Desktop.
Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (tutorialMode) | |
{ | |
var tutorialChain:ITutorialActionChain = TutorialChainBuilder.create(context) | |
.addAction(new WaitAction(2)) | |
.addConcurrentChain() | |
.addAction(new MoveMapAction(new GridPoint(-6, -5), 3)) | |
.addSequentialChain() | |
.addAction(new WaitAction(1)) | |
.addAction(new ZoomMapAction(1, 2)) | |
.finalizeSubChain() | |
.finalizeSubChain() | |
.addSequentialChain() | |
.addAction(new MoveMapAction(new GridPoint(6, -5), 2)) | |
.addConcurrentChain() | |
.addAction(new ZoomMapAction(0.5, 3)) | |
.addAction(new MoveMapAction(new GridPoint(0, 0), 2)) | |
.finalizeSubChain() | |
.finalizeSubChain() | |
.getChain(); | |
tutorialChain.start(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment