initial commit, kind of working.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package
|
||||
{
|
||||
import flash.display.Sprite;
|
||||
import flash.events.Event;
|
||||
|
||||
[SWF(width="720", height="480", backgroundColor="#333333", frameRate="60")]
|
||||
public class Main extends Sprite
|
||||
{
|
||||
|
||||
public function Main()
|
||||
{
|
||||
super();
|
||||
addEventListener(Event.ADDED_TO_STAGE,this.init);
|
||||
}
|
||||
|
||||
private function init(param1:Event) : void
|
||||
{
|
||||
removeEventListener(Event.ADDED_TO_STAGE,this.init);
|
||||
addChild(new Game(this));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user