/// <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; }
/// <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; }
public void IsoMathServiceSetup() { _isoMathService = new IsoMathService(new EngineService()); }