MoonWorksTest/src/Program.cs

29 lines
620 B
C#
Raw Permalink Normal View History

2022-03-02 23:41:52 +00:00
using MoonWorks;
2021-01-20 21:33:03 +00:00
using MoonWorks.Graphics;
2021-01-20 04:08:29 +00:00
namespace MoonWorksTest
{
class Program
{
static void Main(string[] args)
{
WindowCreateInfo windowCreateInfo = new WindowCreateInfo
{
2021-01-20 05:33:32 +00:00
WindowTitle = "MoonWorksTest",
2021-01-20 04:08:29 +00:00
WindowWidth = 1280,
WindowHeight = 720,
ScreenMode = ScreenMode.Windowed
};
2022-03-02 23:41:52 +00:00
TestGame game = new TestGame(
windowCreateInfo,
PresentMode.FIFO,
60,
true
);
2021-01-20 04:08:29 +00:00
game.Run();
}
}
}