Exemplo n.º 1
0
 public DrawSystem(SpriteRepository spriteRepository,
                   SpriteBatch spriteBatch,
                   FontRepository fontRepository,
                   [Hint(typeof(IInputService))] XInputService input)
 {
     this.spriteRepository = spriteRepository;
     this.spriteBatch      = spriteBatch;
     this.fontRepository   = fontRepository;
     this.input            = input;
 }
Exemplo n.º 2
0
 public MainWindowViewModel()
 {
     EventAggregator.Instance.Subscribe(this);
     _xInputService = new XInputService();
     Status         = "Currently idle.";
 }