Created
August 24, 2010 06:47
-
-
Save destroytoday/547084 to your computer and use it in GitHub Desktop.
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
package com.destroytoday.desktop | |
{ | |
import com.destroytoday.desktop.KonamiCode; | |
import flash.display.Sprite; | |
public class KonamiCodeTest extends Sprite | |
{ | |
public var konamiCode:KonamiCode; | |
public function KonamiCodeTest() | |
{ | |
konamiCode = new KonamiCode(stage); | |
konamiCode.executed.add(konamiCodeExecutedHandler); | |
} | |
protected function konamiCodeExecutedHandler():void | |
{ | |
trace("woohoo!"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment