public ApplicationInfo(int width, int height)
        {
            this.width = width;
            this.height = height;
            realWidth = width;
            realHeight = height;

            nativeInterface = null;
            args = new String[0];
        }
Ejemplo n.º 2
0
        public ApplicationInfo(int width, int height)
        {
            this.width  = width;
            this.height = height;
            realWidth   = width;
            realHeight  = height;

            nativeInterface = null;
            args            = new String[0];
        }
Ejemplo n.º 3
0
        public Engine(INativeInterface ui = null)
        {
            this.ui = ui ?? new NullInterface();

            this.server = new HttpListener();
            this.server.Prefixes.Add("http://localhost:9999/");
            this.compiler = new CSharpCodeExecutor();

            this.completionHelper = new CodeCompletionHelper();
            this.completionHelper.AddReference(typeof(System.Object));

            this.exitEvent = new ManualResetEvent(false);
        }
Ejemplo n.º 4
0
        public Application(ApplicationInfo info)
        {
            nativeInterface = info.nativeInterface;
            width           = info.width;
            height          = info.height;
            realWidth       = info.realWidth;
            realHeight      = info.realHeight;

            sharedApplication = this;

            context    = new Context();
            updatables = new UpdatableList(1);
            drawables  = new DrawableList(1);

            cmdLine = CreateCommandLine();
            cmdLine.Parse(info.args);
        }
        public Application(ApplicationInfo info)
        {
            nativeInterface = info.nativeInterface;
            width = info.width;
            height = info.height;
            realWidth = info.realWidth;
            realHeight = info.realHeight;

            sharedApplication = this;

            context = new Context();
            updatables = new UpdatableList(1);
            drawables = new DrawableList(1);

            cmdLine = CreateCommandLine();
            cmdLine.Parse(info.args);
        }