示例#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();
    }
示例#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();
    }
示例#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();
    }