Thursday, February 15, 2007

This the class diagram for the hack and slash RPG


This class diagram depicts two generic classes. An NPC class and a PC class. From the NPC class branches to two different classes a quest giver and a demon class. Then from the demon class spawns two more objects the Scarekrow which is a caster demon and Beastor which is a melee demon. On the PC side the player class represents a player controlled character. From the player class two more classes branch out which is the mage class and barbarian class. All these classes inheirt the base attributes from the humanoid class. Other classes will exist like a generic beast class which will represent the different kinds of beastaries in the game.

No comments: