示例#1
0
        private Flat6Window(Flat6Engine engine, string[] args, int width, int height) : base(width, height, new GraphicsMode(32, 24, 0, 8))
        {
            Thread.CurrentThread.Name = "Flat6";

            _engine = engine;
            _engine.Init(this);

            Load        += OnLoad;
            Resize      += OnResize;
            RenderFrame += OnRender;
            UpdateFrame += OnUpdate;
        }
示例#2
0
 public Flat6Window(Flat6Engine engine, string[] args = null) : this(engine, args, 960, 540)
 {
 }