Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function onAvatarDeath( avatarEvent:AvatarEvent ):void
- {
- gameovertext = new GameOverText();
- gameovertext.addEventListener( NavigationEvent.RESTART, onRequestRestart, false, 0, true );
- gameovertext.x = 0;
- gameovertext.y = 0;
- addChild( gameovertext );
- playScreen = null;
- }
Add Comment
Please, Sign In to add comment