|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.haphazard.XML.MessageHandler
org.haphazard.system.action.Action
org.haphazard.system.action.CharacterAction
org.haphazard.system.action.GlobalGUIController
Field Summary |
Fields inherited from class org.haphazard.system.action.CharacterAction |
ATTACK, CARRY, DEFEND, DIE, DROP, mCharacter, MOVE, mTarget, mWorld, NOTHING, SAY, WEAR |
Fields inherited from class org.haphazard.system.action.Action |
mController, mExecutionTime, mTimeStarted |
Fields inherited from class org.haphazard.XML.MessageHandler |
mMessageBuffer |
Method Summary | |
void |
changeCameraMode()
|
Character |
findTarget()
|
static GlobalGUIController |
getInstance()
|
void |
paint(java.awt.Graphics2D graphics)
Paints the component using the graphics specified |
boolean |
perform()
Performs the action |
protected boolean |
performAttack()
Performs the attack |
protected boolean |
performCarry()
Performs carry |
protected boolean |
performDeath()
Performs death |
protected boolean |
performDrop()
Performs drop |
protected boolean |
performMove()
Overrides action performMove to fix camera location |
protected boolean |
performWear()
Performs wear |
void |
update(java.util.Observable observable,
java.lang.Object obj)
|
Methods inherited from class org.haphazard.system.action.CharacterAction |
attack, carry, defend, die, drop, getActionType, getCharacter, move, move, performDefend, performSay, say, setCharacter, wear |
Methods inherited from class org.haphazard.system.action.Action |
equals, start |
Methods inherited from class org.haphazard.XML.MessageHandler |
addMessage, getNextMessage, hasMessage |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static GlobalGUIController getInstance()
public void changeCameraMode()
public boolean perform()
CharacterAction
perform
in class CharacterAction
protected boolean performMove()
performMove
in class CharacterAction
protected boolean performAttack()
CharacterAction
performAttack
in class CharacterAction
protected boolean performDeath()
CharacterAction
performDeath
in class CharacterAction
protected boolean performWear()
CharacterAction
performWear
in class CharacterAction
protected boolean performCarry()
CharacterAction
performCarry
in class CharacterAction
protected boolean performDrop()
CharacterAction
performDrop
in class CharacterAction
public void update(java.util.Observable observable, java.lang.Object obj)
update
in interface java.util.Observer
public Character findTarget()
public void paint(java.awt.Graphics2D graphics)
graphics
- The graphics to use
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |