Exemplo n.º 1
0
 public void showBunnyMark()
 {
     purgeAll();
     bunny = new BunnyMark();
     stage.AddChild( bunny );
     if ( stats != null ) stage.AddChild( stats );
 }
Exemplo n.º 2
0
    public static void Main(string[] args)
    {
        Atomic.RegisterAssemblyComponents(typeof(MyGame).Assembly);

        var bunnyMark = new BunnyMark();

        Atomic.Run();
    }
Exemplo n.º 3
0
    private void purgeAll()
    {
        if ( menu != null ) {
            stage.RemoveChild( menu );
            menu = null;
        }

        if ( bunny != null ) {
            stage.RemoveChild( bunny );
            bunny = null;
        }

        if ( bench != null ) {
            stage.RemoveChild( bench );
            bench = null;
        }

        if ( pirate != null ) {
            stage.RemoveChild( pirate );
            pirate = null;
        }
    }
Exemplo n.º 4
0
	public static void Main (string[] args)
	{		

		Atomic.RegisterAssemblyComponents (typeof(MyGame).Assembly);

		var bunnyMark = new BunnyMark ();

		Atomic.Run ();

	}