Chasing Coffeehighly caffeinated, sardonic, evil bastard games programmerSideways data- March 2, 2005 We're taking an interesting approach to data in our new prototype. In every project I've worked on in the past 6 years there was always a class like this class GameObject Vector3 Position; char Name; Geometry Renderable; etc etc etc virtual int Use(); ; Which leads to classes like this: class PickupObject : public GameObject float PickupRadius;...http://www.chasingcoffee.com/blog/archives/001715.html |