Saturday, August 15, 2009

Started coding today

Welcome back!

I started doing some coding on Eyes of the Dragon this evening. I am in the process of creating a set of classes for the player character. I am planning on using inheritance for the different character classes: Fighter, Priest, Wizard and Theif. To do this I will be creating a base abstract class and then inheriting the other character classes from this class. If you are unfamiliar with abstract classes they are classes that you can not create objects with directly, you must inherit other classes from them. It is much like I did with the GameScreen class. You inherited the various screens from this class instead of using the GameScreen class.

Jamie McMahon
Proud member of Dream.In.Code

No comments: