public Window(string title, int antiAliasing, CoreEngine engine) : base(1080, 720, new GraphicsMode(32, 24, 0, antiAliasing), title, GameWindowFlags.Default, DisplayDevice.Default, 3, 3, GraphicsContextFlags.Default) { this.engine = engine; AC = new AudioContext(); engine.Window = this; }
public void Initialize(CoreEngine engine) { this.engine = engine; }