GetGridSystem method

I’m curious why we created a private GetGridSystem method in this class which returns a GridSystem from the gridsystemList when the gridSystemList itself lives in this class. Is it some sort of best practice, something we’re going to use in a later lecture, or just a quirky oversight? Thanks!

It sets us up later to use the same GridSystem logic in a separate GridSystem when pathfinding.

Privacy & Terms