mirror of
https://github.com/Ale32bit/Capy64.git
synced 2025-12-14 01:55:46 +00:00
31 lines
703 B
C#
31 lines
703 B
C#
using Capy64.API;
|
|
using Capy64.Core;
|
|
using Capy64.Eventing;
|
|
using Capy64.LuaRuntime;
|
|
using Microsoft.Xna.Framework;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Capy64;
|
|
|
|
public interface IGame
|
|
{
|
|
|
|
Game Game { get; }
|
|
IList<IPlugin> NativePlugins { get; }
|
|
IList<IPlugin> Plugins { get; }
|
|
GameWindow Window { get; }
|
|
Drawing Drawing { get; }
|
|
Runtime LuaRuntime { get; set; }
|
|
EventEmitter EventEmitter { get; }
|
|
void ConfigureServices(IServiceProvider serviceProvider);
|
|
|
|
int Width { get; set; }
|
|
int Height { get; set; }
|
|
float Scale { get; set; }
|
|
void UpdateSize();
|
|
|
|
event EventHandler<EventArgs> Exiting;
|
|
void Run();
|
|
void Exit();
|
|
}
|