Example #1
0
    public static void Main( String[] args )
    {
        BBMonkeyGame game=new BBMonkeyGame();

        try{

            bb_.bbInit();
            bb_.bbMain();

        }catch( Exception ex ){

            if( game.Die( ex ) ) throw;
            return;
        }

        if( game.Delegate()==null ) return;

        game.Run();
    }
Example #2
0
    protected override void LoadContent()
    {
        try{
            bb_.bbInit();
            bb_.bbMain();
        }catch (Exception ex) {
            if (_game.Die(ex))
            {
                throw;
            }
            return;
        }

        if (_game.Delegate() == null)
        {
            Exit();
            return;
        }

        _game.Run();
    }
Example #3
0
    public static void Main(String[] args)
    {
        BBMonkeyGame game = new BBMonkeyGame();

        try{
            bb_.bbInit();
            bb_.bbMain();
        }catch (Exception ex) {
            if (game.Die(ex))
            {
                throw;
            }
            return;
        }

        if (game.Delegate() == null)
        {
            return;
        }

        game.Run();
    }