Broken tutorial
Hi guys. The tutorial is broken at the moment, with the most recent release.
When getting to the part to add the AddViewSystem, pasting the code in gives an error in this function
protected override Collector<GameEntity> GetTrigger(IContext<GameEntity> context)
{
return _context.CreateCollector(GameMatcher.Sprite);
}
The return type for GetTrigger is wrong and following that CreateCollector is erroring because of it. Changing The return type to ICollector from Collector stops errors.
Additionally, the go.Link call has an error "No Overload for Link takes 2 parameters". Removing the second parameter, _context fixes the errors
Thanks, yes these errors reflect changes in the Entitias API that were introduced after the tutorial was posted. I'll make some changes now.
NOTE I'm not maintaining the repo, just the readme. Consider the code in the repo out of date.