This repository has been archived on 2023-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
Blarg.GameFramework/Blarg.GameFramework/ILooper.cs

34 lines
720 B
C#

using System;
using PortableGL;
using Blarg.GameFramework.Input;
using Blarg.GameFramework.IO;
namespace Blarg.GameFramework
{
public interface ILooper : IDisposable
{
PlatformOS OperatingSystem { get; }
PlatformType Type { get; }
ILogger Logger { get; }
IFileSystem FileSystem { get; }
IKeyboard Keyboard { get; }
IMouse Mouse { get; }
ITouchScreen TouchScreen { get; }
IPlatformWindow Window { get; }
GL20 GL { get; }
int FPS { get; }
float FrameTime { get; }
int RendersPerSecond { get; }
int UpdatesPerSecond { get; }
int RenderTime { get; }
int UpdateTime { get; }
bool IsRunningSlowly { get; }
void Run(IGameApp gameApp, IPlatformConfiguration config);
void Quit();
}
}