public void showBunnyMark() { purgeAll(); bunny = new BunnyMark(); stage.AddChild( bunny ); if ( stats != null ) stage.AddChild( stats ); }
public static void Main(string[] args) { Atomic.RegisterAssemblyComponents(typeof(MyGame).Assembly); var bunnyMark = new BunnyMark(); Atomic.Run(); }
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; } }
public static void Main (string[] args) { Atomic.RegisterAssemblyComponents (typeof(MyGame).Assembly); var bunnyMark = new BunnyMark (); Atomic.Run (); }