Esempio n. 1
0
 /// <inheritdoc />
 public PainterSystem(IInputService inputService,
                      IEngineService engineService,
                      Camera2D camera,
                      IIsoMathService isoMathService)
     : base(Aspect.All(typeof(Position),
                       typeof(Paintable)))
 {
     _inputService   = inputService;
     _camera         = camera;
     _engineService  = engineService;
     _isoMathService = isoMathService;
 }
Esempio n. 2
0
 /// <inheritdoc />
 public AreaRenderSystem(SpriteBatch spriteBatch,
                         IEngineService engineService,
                         IModuleResourceService resourceService,
                         Camera2D camera,
                         IIsoMathService isoMathService)
     : base(Aspect.All(typeof(Renderable),
                       typeof(Map)))
 {
     _spriteBatch     = spriteBatch;
     _engineService   = engineService;
     _origin          = Vector2.Zero;
     _resourceService = resourceService;
     _camera          = camera;
     _isoMathService  = isoMathService;
 }
Esempio n. 3
0
 public void IsoMathServiceSetup()
 {
     _isoMathService = new IsoMathService(new EngineService());
 }