chore: updated engine to use MonoGame integrations

This commit is contained in:
2025-06-01 18:37:59 +03:00
committed by Syntriax
parent 1ff26f5be4
commit 29df4a36e9
21 changed files with 154 additions and 320 deletions

View File

@@ -3,13 +3,13 @@ using Syntriax.Engine.Core;
namespace Pong.Behaviours;
public class TextScoreBehaviour : TextBehaviour
public class TextScoreBehaviour : TextBehaviour, IFirstFrameUpdate
{
public bool IsLeft { get; }
private PongManagerBehaviour? pongManager = null;
protected override void OnFirstActiveFrame()
public void FirstActiveFrame()
{
if (!UniverseObject.Universe.TryFindBehaviour(out pongManager))
return;