Opentk/Source/OpenTK/Platform/IGameWindow.cs

25 lines
521 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Text;
using OpenTK.Input;
namespace OpenTK.Platform
{
interface IGameWindow : IDisposable
{
void Run();
void RenderFrame();
void UpdateFrame();
event UpdateFrameEvent UpdateFrameNotify;
event RenderFrameEvent RenderFrameNotify;
IKeyboard Key { get; }
}
public delegate void UpdateFrameEvent(EventArgs e);
public delegate void RenderFrameEvent(EventArgs e);
}