Guest User

Untitled

a guest
Jun 23rd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. public function onAvatarDeath( avatarEvent:AvatarEvent ):void
  2. {
  3. gameovertext = new GameOverText();
  4. gameovertext.addEventListener( NavigationEvent.RESTART, onRequestRestart, false, 0, true );
  5. gameovertext.x = 0;
  6. gameovertext.y = 0;
  7. addChild( gameovertext );
  8.  
  9. playScreen = null;
  10. }
Add Comment
Please, Sign In to add comment