Circular dependencies, Type Dependency Diagrams

There is now a circular dependency between RPG.SceneManagement and RPG.Control. Putting Respawner in RPG.SceneManagement seems to fix. I also moved AIController and PortalPath into RPG.AI to fix another circular dependency with RPG.Control.

More detail: I finished this course a while ago. On and off I try to make additions either to continue my learning or to make it better for players. I took short cuts to get things out quickly with the expectation I’ll clean it up later. Later is now. I have dead code, barely used code, circular dependencies. You name it.

The new “Type Dependency Diagram” recently added to Rider has been helpful. It is easier to read and interpret it when you don’t have circular dependencies.

Privacy & Terms