protected override bool IsAssociatedDataValid(Entity entity, SpriteComponentState associatedData) { return (entity.Get(SpriteComponent.Key) == associatedData.SpriteComponent && entity.Get(TransformComponent.Key) == associatedData.TransformComponent); }
protected override bool IsAssociatedDataValid(Entity entity, SpriteComponent component, SpriteComponentState associatedData) { return (component == associatedData.SpriteComponent && entity.Transform == associatedData.TransformComponent); }