chore: Fixed Test Shape

This commit is contained in:
Syntriax 2024-01-24 18:40:31 +03:00
parent 5b484eb38c
commit 6e6475f8bf
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ public class Game1 : Game
gameObjectDiamond.Transform.Scale = new Vector2D(100f, 100f); gameObjectDiamond.Transform.Scale = new Vector2D(100f, 100f);
gameObjectDiamond.BehaviourController.AddBehaviour<KeyboardInputsBehaviour>(); gameObjectDiamond.BehaviourController.AddBehaviour<KeyboardInputsBehaviour>();
gameObjectDiamond.BehaviourController.AddBehaviour<MovementBoxBehaviour>(Keys.W, Keys.S, 268f, -268f, 400f); gameObjectDiamond.BehaviourController.AddBehaviour<MovementBoxBehaviour>(Keys.W, Keys.S, 268f, -268f, 400f);
gameObjectDiamond.BehaviourController.AddBehaviour<ShapeBehaviour>(new Shape([Vector2D.Up, Vector2D.One * 2f, Vector2D.Right, Vector2D.Down, Vector2D.Zero, Vector2D.Left])); gameObjectDiamond.BehaviourController.AddBehaviour<ShapeBehaviour>(new Shape([Vector2D.Up, Vector2D.One, Vector2D.Right, Vector2D.Down, Vector2D.Zero, Vector2D.Left]));
gameObjectDiamond.BehaviourController.AddBehaviour<ShapeAABBBehaviour>(); gameObjectDiamond.BehaviourController.AddBehaviour<ShapeAABBBehaviour>();
} }