public OpenDocumentSet(ITagContainer diContainer) { this.diContainer = diContainer; }
public PlayerPuppet(ITagContainer diContainer) : base(diContainer.GetTag <DefaultEcs.World>(), CreateEntityContainer, useBuffer: true) { camera = diContainer.GetTag <Camera>(); }
public static ITagContainer FallbackTo(this ITagContainer main, ITagContainer fallback) => new FallbackTagContainer(main, fallback);
public Label(ITagContainer diContainer) : base(diContainer.GetTag <DefaultEcs.World>(), CreateEntityContainer, useBuffer: true) { recorder = diContainer.GetTag <EntityCommandRecorder>(); addedSubscription = World.SubscribeComponentAdded <components.ui.Label>(SetLabelNeedsTiling); changedSubscription = World.SubscribeComponentChanged <components.ui.Label>(SetLabelNeedsTiling); }
public Actor(ITagContainer diContainer) { resourcePool = diContainer.GetTag <IResourcePool>(); Manage(diContainer.GetTag <DefaultEcs.World>()); }
public FallbackTagContainer(ITagContainer main, ITagContainer fallback) { this.main = main; this.fallback = fallback; }
public DebugLineRenderer(ITagContainer diContainer) { Material = new DebugLinesMaterial(diContainer); meshBuffer = new DynamicLineMeshBuffer <ColoredVertex>(diContainer.GetTag <ResourceFactory>()); }
public PuppetActorTarget(ITagContainer diContainer) : base(diContainer.GetTag <DefaultEcs.World>(), CreateEntityContainer, useBuffer: false) { }
public static ITagContainer ExtendedWith <T1, T2>(this ITagContainer parent, T1 t1, T2 t2) where T1 : class where T2 : class => new ExtendedTagContainer(parent).AddTag(t1).AddTag(t2);
public static ITagContainer ExtendedWith <T1, T2, T3, T4>(this ITagContainer parent, T1 t1, T2 t2, T3 t3, T4 t4) where T1 : class where T2 : class where T3 : class where T4 : class => new ExtendedTagContainer(parent).AddTag(t1).AddTag(t2).AddTag(t3).AddTag(t4);
public ExtendedTagContainer(ITagContainer parent) { this.parent = parent; }
public TextureAssetLoader(ITagContainer diContainer) { DIContainer = diContainer; resourcePool = diContainer.GetTag <IResourcePool>(); device = diContainer.GetTag <GraphicsDevice>(); }
protected BaseScript(ITagContainer diContainer, Func <object, DefaultEcs.World, DefaultEcs.EntitySet> entitySetCreation) : base(diContainer.GetTag <DefaultEcs.World>(), entitySetCreation, useBuffer: true) { }
public CorrectRenderOrder(ITagContainer diContainer) : base(diContainer.GetTag <DefaultEcs.World>(), CreateEntityContainer, useBuffer: true) { }
public NPCLookAtPlayer(ITagContainer diContainer) : base(diContainer.GetTag <DefaultEcs.World>(), CreateEntityContainer, useBuffer: true) { var game = diContainer.GetTag <Game>(); playerLocationLazy = new Lazy <Location>(() => game.PlayerEntity.Get <Location>()); }
public static bool HasTags(this ITagContainer container) { return(container.TagCount > 0); }
public RecordingSequentialSystem(ITagContainer diContainer) { this.diContainer = diContainer; world = diContainer.GetTag <DefaultEcs.World>(); diContainer.AddTag(recorder); }