Ejemplo n.º 1
0
 public DebugView(Game game, PhysicsManager physicsManager)
 {
     _game = game;
     _physicsManager = physicsManager;
     _triangleVertices = new VertexArray(PrimitiveType.Triangles);
     _lineVertices = new VertexArray(PrimitiveType.Lines);
     _staticColor = new Color(100, 150, 100);
     _dynamicColor = new Color(100, 100, 150);
 }
Ejemplo n.º 2
0
 public void startGame()
 {
     addMessage("Starting game...");
     _state = GameState.Ready;
     _entityManager = new EntityManager(this);
     _cameraManager = new CameraManager(this);
     _physicsManager = new PhysicsManager(this);
 }