Exemple #1
0
 public OurPhysicsDebugDrawer(Microsoft.Xna.Framework.Game game, StatusType statusType,
                              CameraManager <Camera3D> cameraManager,
                              OurObjectManager objectManager)
     : base(game, statusType)
 {
     this.cameraManager = cameraManager;
     this.objectManager = objectManager;
     vertexData         = new List <VertexPositionColor>();
     basicEffect        = new BasicEffect(game.GraphicsDevice);
 }
        public OurRenderManager(Microsoft.Xna.Framework.Game game, StatusType statusType,
                                ScreenLayoutType screenLayoutType,
                                OurObjectManager objectManager,
                                CameraManager <Camera3D> cameraManager) : base(game, statusType)
        {
            this.screenLayoutType = screenLayoutType;
            this.objectManager    = objectManager;
            this.cameraManager    = cameraManager;

            InitializeGraphics();
        }