kylepulver / Otter

2d game making framework built on top of SFML.Net
MIT License
54 stars 10 forks source link

Logical Namespacing #4

Open WillSams opened 4 years ago

WillSams commented 4 years ago

The Otter code should be, at least, logically namespaced based on the folders. I.e., Otter.OgmoPlayer() should be Otter.Utility.OgmorPlayer(). Would make things easier in the future to avoid code collision. Also, it would avoid some of the possible code collisions with SFML's namespaces. For example, Otter.Shader and SFML.Graphics.Shader.

kylepulver commented 4 years ago

I think that makes sense. Initially I made it all just one big namespace because it was easier but as the codebase grew I was too lazy to organize the namespaces

WillSams commented 4 years ago

Cool beans and good timing because I finished up the last bit of namespacing last night in my fork. I'll test it a bit more before rolling that code into my master before I do a pull request.

WillSams commented 4 years ago

Doneski. #7