Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

Gravious

Member Since 12 Mar 2007
Offline Last Active Feb 16 2013 11:32 AM
-----

Posts I've Made

In Topic: OOP with vectors

16 February 2013 - 01:53 AM

Thanks for the input.  

 

The base entity class is further inherited to become the various objects my world interacts with, and i have various bools set to say wether an object is interactive, or active at all, i had thought that it would be ok to make a for() loop and cycle through the entities and only apply the logic based on the individual objects relevance to the currently running instance of the class, but i'm guessing what you're suggesting is i have some kind of external class that governs logic and sweeps through my vector and applies logic externally, instead of the entities being in control of their own logic?

 

I am new at game internal design, this is a design i thought would be ok, but i'm not married to it :)


PARTNERS