public BoundarySystem(GraphicsDevice device, EffectFactory effectFactory, IComponentContainer <DebugInfo> debugInfos, IList <IComponentContainer> containers) : base(debugInfos, containers) { this.Device = device; this.Effect = effectFactory.Construct <ColorEffect>(); this.Bounds = new BoundsDrawer3D(device); this.Quad = new BoundsDrawer2D(device); }
public BoundarySystem(GraphicsDevice device, EffectFactory effectFactory, IComponentContainer <DebugInfo> components, IComponentContainer <Bounds> bounds) { this.Device = device; this.Components = components; this.Bounds = bounds; this.Effect = effectFactory.Construct <ColorEffect>(); this.Bound = new BoundsDrawer3D(device); this.Quad = new BoundsDrawer2D(device); }