Posts tagged with: ‘inheritance’
Posted by Patrick on Monday, February 07, 2011Mon, Feb 07, 2011
Two weeks ago I started a series of introductory posts on Archivist, a library for simple serialization in C++. I wrote Archivist for my game, Swivel, which is now in the App Store. Today I'd like to show you how to deal with basic inheritance with Archivist. We'll get into polymorphism in a future post. Let's extend our first example with some inheritance. Let's say our monster can have adorable¬Ö