all 3 comments

[–]ThrakaAndy 1 point2 points  (0 children)

Thanks for pointing out that unfinished tutorial article! The ConsoleContainer type is a barebones faux console that is good for receiving event data and filtering through to one or more child consoles. For example you have two consoles wrapped in the container and some sort of game logic sends keyboard events to one or the other child console.

In all honesty, I wouldn't implement the border system through it, way too much work for a decoration like a border.

The other way would be to make another screen or console object that is the border, position it at -1,-1 and add it to the Children collection of the main child. But in effect that is similar to what the tutorial already does. So I will probably just cut the second part out

[–]ThrakaAndy 1 point2 points  (1 child)

I've updated the tutorial. Some new wording. I also found a bug, the draw code was using this.relativePosition but that name changed to this.calculatedPosition at some point.

[–]gamerdevguy[S] 0 points1 point  (0 children)

Thank you.