This commit is contained in:
2024-12-14 11:17:47 +03:00
parent fa7b12c88c
commit ef922486eb
30 changed files with 1135 additions and 949 deletions

View File

@@ -0,0 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Engine\Engine.csproj"/>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,23 @@
using Engine;
using Serilog.Events;
namespace PresenterNative;
internal static class Program
{
public static void Main(string[] parArgs)
{
var engine = new EngineBuilder()
.Headless(false)
.Width(1280)
.Height(720)
.Title("Doom Deathmatch")
.LogToConsole()
.LogToFile(true, "log.txt")
.LogLevel(LogEventLevel.Debug)
.Presenter(parEngine => parEngine.Window)
.Build();
engine.Run();
}
}