Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Member Since 28 Jul 1999
Offline Last Active Yesterday, 08:45 PM

Posts I've Made

In Topic: Engine design, global interfaces

12 June 2015 - 08:14 PM

Funkymunky, are you sure a couple of instances of your Singleton are enough?



Definitely, I made a SingletonManager class to make sure I kept track of them all properly.

In Topic: Engine design, global interfaces

10 June 2015 - 10:32 PM

Guys I've been thinking about it and I'm starting to lean toward using a couple of Singletons.

In Topic: Engine design, global interfaces

08 June 2015 - 12:43 PM

Perhaps L.Spiro should put an "about me" on HIS webpage, as it is not the first time I've seen this mistake.





(!)  I'm so embarrassed.


(Also guys can you stop arguing about singletons, they're pretty clearly just a personal style choice.  I know people have strong feelings about them, but you're just de-railing the conversation at this point).

In Topic: Engine design, global interfaces

06 June 2015 - 05:23 PM

To be honest, I think I prefer static class methods to global variables for the same reasons she outlined.  I'm thinking I'll continue passing around pointers to my manager-abstractions, however.

In Topic: Engine design, global interfaces

06 June 2015 - 09:00 AM

This all falls in line with my existing outlook, but I'm a little surprised to hear the static class method derided as "Another pointless abstraction."  I've read L. Spiro's blog post about her engine design, and that's the method she seems to have gone with.  Her reasoning seems sound, although a lot of it could be emulated by just using global functions in a namespace.