|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PCharacter | |
---|---|
jurpe.combat | |
jurpe.items | |
jurpe.system | |
jurpe.system.commands |
Uses of PCharacter in jurpe.combat |
---|
Methods in jurpe.combat that return PCharacter | |
---|---|
PCharacter |
DualCombat.getHumanFighter()
In a DualCombat one of the combatants could be a PCharacter. |
Uses of PCharacter in jurpe.items |
---|
Methods in jurpe.items with parameters of type PCharacter | |
---|---|
void |
Weapon.unwear(PCharacter pc)
Unwear BasicItem (polymorphic) |
void |
Shield.unwear(PCharacter pc)
Unwear BasicItem (polymorphic) |
void |
Item.unwear(PCharacter pc)
Polymorphic call to unwear this armor |
void |
BasicItem.unwear(PCharacter pc)
Every object is able to unwear itself |
void |
Armor.unwear(PCharacter pc)
Polymorphic call to unwear this armor |
boolean |
Item.use(PCharacter pc)
Use BasicItem (polymorphic) |
boolean |
BasicItem.use(PCharacter pc)
Use this object onto given character |
boolean |
Weapon.wear(PCharacter pc)
Polymorphic method to wear this BasicItem |
boolean |
Shield.wear(PCharacter pc)
Polymorphic method to wear this BasicItem |
boolean |
Item.wear(PCharacter pc)
Polymorphic call to wear this item |
boolean |
BasicItem.wear(PCharacter pc)
Every object is able to wear itself in the correct position of a character (ie: arms in right hand). |
boolean |
Armor.wear(PCharacter pc)
Polymorphic call to wear this armor (BasicItem) |
Uses of PCharacter in jurpe.system |
---|
Methods in jurpe.system that return PCharacter | |
---|---|
static PCharacter |
JurpeUtils.generatePC(CharacterAttributes ca,
Skills abilitaDisponibili)
Creates a Playing Character, with default maximum points. |
static PCharacter |
JurpeUtils.generatePC(CharacterAttributes ca,
Skills abilitaDisponibili,
int maximumCharacterPoints)
Creates a Playing Character |
PCharacter |
CoreHandles.getPC()
Handle to character |
Methods in jurpe.system with parameters of type PCharacter | |
---|---|
int |
CoreCommands.firstAid(PCharacter pc,
int sk,
int tl)
Get First Aid regained health points. |
static void |
JurpeUtils.fullRecovery(PCharacter pc)
Full recovery |
static boolean |
JurpeUtils.naturalRecovery(PCharacter pc)
To use natural recovery you must have a day of rest and decent food (a night at Inn, in this implementation). |
static boolean |
JurpeUtils.recoverFromUnconsciousness(PCharacter pc)
To recover from uncosciousness you must rest for your current negative HT points minutes. |
Uses of PCharacter in jurpe.system.commands |
---|
Methods in jurpe.system.commands that return PCharacter | |
---|---|
static PCharacter |
CreationCommands.generatePC(CharacterAttributes ca,
Skills availableSkills)
Creation of a new Playing Character |
static PCharacter |
PersistenceCommands.loadPC(java.lang.String pcName)
Restore serialized PCharacter. |
Methods in jurpe.system.commands with parameters of type PCharacter | |
---|---|
static boolean |
SkillCommands.addSkill(PCharacter curPC,
Skill skillToAdd,
boolean autoImprove)
Add Skill to Playing Character. |
static DualCombat |
CombatCommands.enterCombat(PCharacter fighter,
Monster monsterToFight)
Starts a combat session. |
static int |
SkillCommands.firstAid(PCharacter pc,
int sk,
int tl)
Get First Aid regained health points. |
static float |
SkillCommands.getImprovingSkillCost(PCharacter pc,
int currentLevel,
Skill skill)
Get how much points an improvement of one level for a determinate Skill costs |
static float |
SkillCommands.getSkillCost(Skill skill,
PCharacter pc,
int level)
Get how much points a Skill costs it's valued, or the initial points needed to learn a skill |
static boolean |
PersistenceCommands.savePC(PCharacter pc,
java.lang.String namepath)
Serialize Playing Character and his references (Inventory, Skills and such) Extension is taken from Config file. |
|
Jurpe - Java Universal Role Playing Engine - http://jurpe.sourceforge.net | |||||||||
PREV NEXT | FRAMES NO FRAMES |