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
var Example = new function() { | |
var anotherWord = "banana"; | |
return function ExampleConstructor( word ) { | |
this.word = word; | |
// | |
this.toString = toString; | |
this.getStatic = getStatic; | |
} |
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
package | |
{ | |
public class Singleton | |
{ | |
static public const instance:Singleton = new Singleton(); | |
public function Singleton() | |
{ | |
if( instance ) | |
{ |
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
package com.retromodular | |
{ | |
import com.retromodular.listeners.IKeyboardListener; | |
import flash.events.KeyboardEvent; | |
import flash.utils.Dictionary; | |
/** | |
*/ | |
public final class GameKeyboard extends GameSystem |
OlderNewer