|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.haphazard.combat.GlobalCombatEngine
The combat engine for resolving combats
Method Summary | |
java.lang.String |
attack(Character attacker,
Character defender)
Resolves an attack |
static GlobalCombatEngine |
getInstance()
Gets the only instance of the engine |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static GlobalCombatEngine getInstance()
public java.lang.String attack(Character attacker, Character defender)
attacker
- The character to attackdefender
- The character to defend
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |