Graphics Reference
In-Depth Information
trace(
"
HANDLE CORRECT MATCH HERE
"
);
}
private function
incorrectMatchHandler(e:MemoryGameEvent):void{
trace(
"
HANDLE INCORRECT MATCH HERE
"
);
}
private function
gameCompleteHandler(e:MemoryGameEvent):void{
trace(
"
HANDLE GAME COMPLETION HERE
"
);
}
}
}
Figure 13.2
The result of the
sample use of MemoryGame.