BREAKING CHANGE: renamed namespace & assembly names

This commit is contained in:
2025-08-05 19:41:35 +03:00
parent 1644a751bb
commit 3d183b21cd
259 changed files with 411 additions and 405 deletions

View File

@@ -1,8 +1,8 @@
using System.Collections.Generic;
using Syntriax.Engine.Core;
using Engine.Core;
namespace Syntriax.Engine.Integration.MonoGame;
namespace Engine.Integration.MonoGame;
public class DrawableShape : Behaviour2D, IDrawableTriangle, IPreDraw
{

View File

@@ -3,10 +3,10 @@ using System.Collections.Generic;
using Microsoft.Xna.Framework.Input;
using Syntriax.Engine.Core;
using Syntriax.Engine.Systems.Input;
using Engine.Core;
using Engine.Systems.Input;
namespace Syntriax.Engine.Integration.MonoGame;
namespace Engine.Integration.MonoGame;
public class KeyboardInputs : Behaviour, IButtonInputs<Keys>, IUpdate
{

View File

@@ -1,7 +1,7 @@
using System.Collections.Generic;
using Syntriax.Engine.Core;
using Engine.Core;
namespace Syntriax.Engine.Integration.MonoGame;
namespace Engine.Integration.MonoGame;
public class LoadContentManager : Behaviour, IFirstFrameUpdate
{

View File

@@ -1,9 +1,9 @@
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Syntriax.Engine.Core;
using Engine.Core;
namespace Syntriax.Engine.Integration.MonoGame;
namespace Engine.Integration.MonoGame;
public class MonoGameCamera2D : BehaviourBase, ICamera2D, IFirstFrameUpdate, IPreDraw
{
@@ -56,7 +56,7 @@ public class MonoGameCamera2D : BehaviourBase, ICamera2D, IFirstFrameUpdate, IPr
get => _zoom;
set
{
float newValue = Syntriax.Engine.Core.Math.Max(0.1f, value);
float newValue = Engine.Core.Math.Max(0.1f, value);
if (_zoom == newValue)
return;
@@ -94,7 +94,7 @@ public class MonoGameCamera2D : BehaviourBase, ICamera2D, IFirstFrameUpdate, IPr
{
MatrixTransform =
Matrix.CreateTranslation(new Vector3(-Position.X, Position.Y, 0f)) *
Matrix.CreateRotationZ(Rotation * Syntriax.Engine.Core.Math.DegreeToRadian) *
Matrix.CreateRotationZ(Rotation * Engine.Core.Math.DegreeToRadian) *
Matrix.CreateScale(Transform.Scale.X.Max(Transform.Scale.Y)) *
Matrix.CreateScale(Zoom) *
Matrix.CreateTranslation(new Vector3(_viewport.Width * .5f, _viewport.Height * .5f, 0f));

View File

@@ -3,9 +3,9 @@ using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Syntriax.Engine.Core;
using Engine.Core;
namespace Syntriax.Engine.Integration.MonoGame;
namespace Engine.Integration.MonoGame;
public class SpriteBatchWrapper(GraphicsDevice graphicsDevice) : ISpriteBatch
{

View File

@@ -1,8 +1,8 @@
using System.Collections.Generic;
using Syntriax.Engine.Core;
using Engine.Core;
namespace Syntriax.Engine.Integration.MonoGame;
namespace Engine.Integration.MonoGame;
public class SpriteBatcher : BehaviourBase, IFirstFrameUpdate, IDraw
{

View File

@@ -2,9 +2,9 @@ using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Syntriax.Engine.Core;
using Engine.Core;
namespace Syntriax.Engine.Integration.MonoGame;
namespace Engine.Integration.MonoGame;
public class TriangleBatcher : BehaviourBase, ITriangleBatch, IFirstFrameUpdate, IDraw
{