|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Character
Interface for defining different types of players.
| Method Summary | |
|---|---|
java.util.List<CharacterAbility> |
getAbilities()
Get character abilities that the character has. |
java.util.List<Item> |
getItems()
Get character items that the character has possession of. |
int |
getLevel()
Get level of character. |
java.lang.String |
getName()
Get the name of the character. |
boolean |
hasAbility(CharacterAbility ability)
Determines if the character has an ability. |
boolean |
hasItem(Item item)
Does the player have a particular item? |
| Methods inherited from interface net.sf.mud4j.damage.Damageable |
|---|
getDamageBehavior, setDamageBehavior |
| Methods inherited from interface net.sf.mud4j.character.Messageable |
|---|
message |
| Methods inherited from interface net.sf.mud4j.effect.Effectable |
|---|
getEffectBehavior, setEffectBehavior |
| Method Detail |
|---|
java.lang.String getName()
java.util.List<CharacterAbility> getAbilities()
java.util.List<Item> getItems()
boolean hasAbility(CharacterAbility ability)
boolean hasItem(Item item)
item - Item for which the player might have.
int getLevel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||