So I’m making game, and all of a sudden I want to refactor. So, I start refactoring, and these refactors are a key part of the game’s structure. Having deleted the old classes and preparing for a new Manager class that was missing before, I hit a roadblock. I have 3 (maybe four) main class types. I have Blocks, Entities, Items, and Script(s). This Manager class will be awesome, but I have to understand one thing first:
How do my types relate? Or: How do I want my types to relate?
I’m not exactly sure where to go with this. I want to design something that is flexible, but without unnecessary coding. I’m not sure how to visualize this, but I get the idea that a flowchart would be a good medium.
Anyways, how do you guys do it? Do you just jump in and program it? Or do you plan it out?