コード例 #1
0
ファイル: ComponentTests.cs プロジェクト: yurisouza/Protogame
 public ComponentB(
     IRequireComponent <ComponentA> componentA,
     IInstantiateComponent <ComponentD> componentD)
 {
     _componentA = componentA.Component;
     RegisterPublicComponent(componentD.Component);
 }
コード例 #2
0
 public ComponentB(
     IRequireComponent<ComponentA> componentA,
     IInstantiateComponent<ComponentD> componentD)
 {
     _componentA = componentA.Component;
     RegisterPublicComponent(componentD.Component);
 }
コード例 #3
0
ファイル: ComponentTests.cs プロジェクト: yurisouza/Protogame
 public EntityD(
     IRequireComponent <ComponentA> componentA)
 {
     ComponentA = componentA.Component;
     this.RegisterPublicComponent(componentA);
 }
コード例 #4
0
 public EntityD(
     IRequireComponent<ComponentA> componentA)
 {
     ComponentA = componentA.Component;
     this.RegisterPublicComponent(componentA);
 }