PBE Minimal Application
A minimal PBE application all ready for you to add your own
components and code! Comes complete with initialized scene view,
console (hit tilde), and more.
Visit www.pushbuttonengine.com for more information on the PushButton Engine.
Comments/questions? http://pushbuttonengine.com/forum/viewtopic.php?t=1110
♥0 |
Line 17 |
Modified 2010-08-24 01:46:59 |
MIT License
archived:2017-03-10 18:52:25
ActionScript3 source code
/**
* Copyright ben.garney ( http://wonderfl.net/user/ben.garney )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/t5aT
*/
package {
import flash.display.Sprite;
import com.pblabs.engine.*;
import com.pblabs.engine.debug.*;
import com.pblabs.rendering2D.ui.*;
/**
* A minimal PBE application all ready for you to add your own
* components and code! Comes complete with initialized scene view,
* console (hit tilde), and more.
*
* Visit www.pushbuttonengine.com for more information on the PushButton Engine.
*
* Comments/questions? http://pushbuttonengine.com/forum/viewtopic.php?t=1110
*/
public class PBEMinimalApp extends Sprite
{
public var sceneView:SceneView = new SceneView();
public function PBEMinimalApp()
{
PBE.startup(this);
addChild(sceneView);
PBE.initializeScene(sceneView);
Logger.print(this, "Hello World!");
}
}
}