/** *
* Monster.java * * Revisions: 1.0 Nov. 13, 2002 * Created the Monster class * ** * @author Jose Manuel Caban * @version Version 1.0, Nov. 13, 2002 */ public class CMonster extends CCoord implements Constants{ /** *Defines the Intelligence of the monster *whether player controlled or CPU controlled */ private CIntelligence oIntel; /** *Define image for monster *Icons should be named as follows: *Iconname000.jpg, with the 000 incrementing up with each animation number *When used with the constructor, just give the iconname without 000 and the *constructor will search for the correct icon (so for a single icon lacking *any animation, it would be iconname000.jpg and be sent to the constructor *as iconname. Similarly, an icon with animations would have files *icon000.x, icon001.x, and icon002.x and have the name "icon" send to the *constructor. */ ImageIcon[] imgSprite; //////////////// //Constructors// //////////////// public CMonster(int x, int y, int h, String iconFile, CIntelligence oIntel){ super(x,y,h); } /////////// //Methods// /////////// /** * Debugging main for class Monster. * This method will rigorously test my code. * *