This file contains hidden or 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
private var keyBuffer:Array = []; | |
private var konami:Array = [Keyboard.UP, Keyboard.UP, Keyboard.DOWN, Keyboard.DOWN, Keyboard.LEFT, Keyboard.RIGHT, Keyboard.LEFT, Keyboard.RIGHT, "a".charCodeAt(), "b".charCodeAt() ]; | |
private var type_timeout:uint; | |
private function init_cheats_listener():void{ | |
stage.addEventListener(KeyboardEvent.KEY_UP, on_cheat_key_up); | |
} |
NewerOlder