chore: updated engine again
This commit is contained in:
@@ -1,7 +1,16 @@
|
||||
using Syntriax.Engine.Core;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
|
||||
using Syntriax.Engine.Core;
|
||||
using Syntriax.Engine.Integration.MonoGame;
|
||||
|
||||
IUniverseObject universeObject = Syntriax.Engine.Core.Factory.UniverseObjectFactory.Instantiate().SetUniverseObject("Desktop HO");
|
||||
universeObject.BehaviourController.AddBehaviour<KeyboardInputsBehaviour>();
|
||||
using var game = new Pong.GamePong(universeObject);
|
||||
using var game = new Pong.GamePong();
|
||||
|
||||
game.Universe
|
||||
.InstantiateUniverseObject().SetUniverseObject("Desktop HO")
|
||||
.BehaviourController.AddBehaviour<KeyboardInputsBehaviour>();
|
||||
|
||||
game.Graphics.PreferredBackBufferWidth = 1024;
|
||||
game.Graphics.PreferredBackBufferHeight = 576;
|
||||
game.Graphics.GraphicsProfile = GraphicsProfile.HiDef;
|
||||
|
||||
game.Run();
|
||||
|
Reference in New Issue
Block a user