Ejemplo n.º 1
0
 public HelpController(int viewportWidth, int viewportHeight, GraphicsDevice graphicsDevice, ContentManager content)
 {
     _viewportWidth = viewportWidth;
     _viewportHeight = viewportHeight;
     _graphicsDevice = graphicsDevice;
     _content = content;
     _help = new Help(new Vector2(0.1f, 0.1f));
     _helpView =
         new HelpView(new Camera(_viewportHeight, _viewportWidth, 0, 0, _viewportHeight, _viewportHeight, 1, 1),
                      _help);
 }
Ejemplo n.º 2
0
 public HelpView(Camera camera, Help help)
     : base(camera)
 {
     _help = help;
 }