Ejemplo n.º 1
0
 public override void RegisterDependencies(Component component)
 {
 }
Ejemplo n.º 2
0
 public abstract void RegisterDependencies(Component component);
Ejemplo n.º 3
0
 public override void RegisterDependencies(Component component)
 {
     if (component is PositionComponent) position = component as PositionComponent;
     else if (component is CollisionComponent) collision = component as CollisionComponent;
 }
Ejemplo n.º 4
0
 public override void RegisterDependencies(Component component)
 {
     if (component is PositionComponent) PositionSrc = component as PositionComponent;
     else if (component is MovementComponent) MovementSrc = component as MovementComponent;
 }