Skip to content

Instantly share code, notes, and snippets.

@alamboley
alamboley / gist:4030440
Created November 7, 2012 09:44
How to change or destroy State (Citrus Engine recipe)
// In the Main class :
public function Main() {
state = new TiledMapGameState();
setTimeout(otherState, 4000);
}
private function otherState():void {