Need help understanding the creature definition class

Need help understanding the creature definition class

Postby Smilex » 23 Sep 2012, 17:16

So I'm currently coding the XML stuff and looking at this http://opendungeons.sourceforge.net/dox ... c69f9a4d52 I'm not completely sure what the className parameter is for, is it just the CreatureJob in text form?
Smilex
 
Posts: 8
Joined: 21 Sep 2012, 18:39

Re: Need help understanding the creature definition class

Postby oln » 23 Sep 2012, 18:19

The class defines a creature type. So className would be the name of the type. CreatureJob is used by the AI to determine behaviour I think.
User avatar
oln
 
Posts: 1020
Joined: 26 Oct 2010, 22:16
Location: Norway

Who is online

Users browsing this forum: No registered users and 1 guest