-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathGameEntryPoint.cs
31 lines (27 loc) · 966 Bytes
/
GameEntryPoint.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// This file is part of Pong, a Game written in C# with the Aximo Game Engine. Web: https://github.com/kbitGit/pong_axengine, https://github.com/AximoGames
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Aximo.Engine;
using Aximo.Engine.Windows;
using OpenToolkit.Mathematics;
using OpenToolkit.Windowing.Common;
namespace Pong
{
internal class GameEntryPoint
{
private static void Main(string[] args)
{
var game = new PongGame();
game.Start(new ApplicationConfig()
{
WindowSize = new Vector2i(1920, 1080),
WindowTitle = "Aximo Pong",
IdleRenderFrequency = 0,
IdleUpdateFrequency = 0,
RenderFrequency = 0,
UpdateFrequency = 0,
VSync = VSyncMode.Off,
//IsMultiThreaded = false,
});
}
}
}