chore: updated engine
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="../../Shared/Shared.csproj" />
|
||||
<ProjectReference Include="..\..\Engine\Engine.Serializers\Engine.Serializers.Yaml\Engine.Serializers.Yaml.csproj" />
|
||||
<ProjectReference Include="..\..\Engine\Engine.Integration\Engine.Integration.Yaml\Engine.Integration.Yaml.csproj" />
|
||||
</ItemGroup>
|
||||
<Target Name="RestoreDotnetTools" BeforeTargets="Restore">
|
||||
<Message Text="Restoring dotnet tools" Importance="High" />
|
||||
|
@@ -3,11 +3,11 @@ using System.IO;
|
||||
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
|
||||
using Syntriax.Engine.Core;
|
||||
using Syntriax.Engine.Core.Debug;
|
||||
using Syntriax.Engine.Core.Serialization;
|
||||
using Syntriax.Engine.Integration.MonoGame;
|
||||
using Syntriax.Engine.Serializers.Yaml;
|
||||
using Engine.Core;
|
||||
using Engine.Core.Debug;
|
||||
using Engine.Core.Serialization;
|
||||
using Engine.Integration.MonoGame;
|
||||
using Engine.Serializers.Yaml;
|
||||
|
||||
Universe universe = new();
|
||||
|
||||
@@ -39,7 +39,7 @@ monoGameWindow.Graphics.PreferredBackBufferWidth = clientConfiguration.windowWid
|
||||
monoGameWindow.Graphics.PreferredBackBufferHeight = clientConfiguration.windowHeight;
|
||||
monoGameWindow.Graphics.GraphicsProfile = GraphicsProfile.HiDef;
|
||||
|
||||
universe.FindBehaviour<Syntriax.Engine.Systems.Network.INetworkCommunicatorClient>()?
|
||||
universe.FindBehaviour<Engine.Systems.Network.INetworkCommunicatorClient>()?
|
||||
.OnConnectionEstablished.AddOneTimeListener(
|
||||
(sender, connection) => monoGameWindow.Window.Title = $"Client {connection.Id}"
|
||||
);
|
||||
|
@@ -5,8 +5,8 @@ using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
using Syntriax.Engine.Core;
|
||||
using Syntriax.Engine.Systems.Network;
|
||||
using Engine.Core;
|
||||
using Engine.Systems.Network;
|
||||
|
||||
namespace Server;
|
||||
|
||||
|
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
|
||||
using Syntriax.Engine.Core;
|
||||
using Syntriax.Engine.Core.Debug;
|
||||
using Engine.Core;
|
||||
using Engine.Core.Debug;
|
||||
|
||||
Universe universe = new();
|
||||
|
||||
|
@@ -5,6 +5,8 @@
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<ImplicitUsings>disable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>Pong.Platforms.Server</RootNamespace>
|
||||
<AssemblyName>Server</AssemblyName>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
Reference in New Issue
Block a user