net.sf.juoserver.model
Class Mobile
java.lang.Object
net.sf.juoserver.model.Mobile
- All Implemented Interfaces:
- UOObject
public class Mobile
- extends Object
- implements UOObject
Constructor Summary |
Mobile(int serial,
String name)
|
Mobile(int playerSerial,
String playerName,
int currentHitPoints,
int maxHitPoints,
boolean nameChangeFlag,
StatusFlag statusFlag,
SexRace sexRace,
int strength,
int dexterity,
int intelligence,
int currentStamina,
int maxStamina,
int currentMana,
int maxMana,
int goldInPack,
int armorRating,
int weight,
int maxWeight,
RaceFlag raceFlag,
int statsCap,
int followers,
int maxFollowers,
int fireResist,
int coldResist,
int poisonResist,
int energyResist,
int luck,
int damageMinimum,
int damageMaximum,
int tithingPoints)
|
Mobile
public Mobile(int serial,
String name)
Mobile
public Mobile(int playerSerial,
String playerName,
int currentHitPoints,
int maxHitPoints,
boolean nameChangeFlag,
StatusFlag statusFlag,
SexRace sexRace,
int strength,
int dexterity,
int intelligence,
int currentStamina,
int maxStamina,
int currentMana,
int maxMana,
int goldInPack,
int armorRating,
int weight,
int maxWeight,
RaceFlag raceFlag,
int statsCap,
int followers,
int maxFollowers,
int fireResist,
int coldResist,
int poisonResist,
int energyResist,
int luck,
int damageMinimum,
int damageMaximum,
int tithingPoints)
getZ
public int getZ()
setZ
public void setZ(int z)
getDirection
public Direction getDirection()
setDirection
public void setDirection(Direction direction)
isRunning
public boolean isRunning()
setRunning
public void setRunning(boolean running)
getSerialId
public int getSerialId()
- Specified by:
getSerialId
in interface UOObject
getName
public String getName()
getCurrentHitPoints
public int getCurrentHitPoints()
getMaxHitPoints
public int getMaxHitPoints()
isNameChangeFlag
public boolean isNameChangeFlag()
getStatusFlag
public StatusFlag getStatusFlag()
getSexRace
public SexRace getSexRace()
getStrength
public int getStrength()
getDexterity
public int getDexterity()
getIntelligence
public int getIntelligence()
getCurrentStamina
public int getCurrentStamina()
getMaxStamina
public int getMaxStamina()
getCurrentMana
public int getCurrentMana()
getMaxMana
public int getMaxMana()
getGoldInPack
public int getGoldInPack()
getArmorRating
public int getArmorRating()
getWeight
public int getWeight()
getMaxWeight
public int getMaxWeight()
getRaceFlag
public RaceFlag getRaceFlag()
getStatsCap
public int getStatsCap()
getFollowers
public int getFollowers()
getMaxFollowers
public int getMaxFollowers()
getFireResist
public int getFireResist()
getColdResist
public int getColdResist()
getPoisonResist
public int getPoisonResist()
getEnergyResist
public int getEnergyResist()
getLuck
public int getLuck()
getDamageMinimum
public int getDamageMinimum()
getDamageMaximum
public int getDamageMaximum()
getTithingPoints
public int getTithingPoints()
getTitle
public String getTitle()
getSkills
public Set<Skill> getSkills()
getItems
public Map<Layer,Item> getItems()
getModelId
public int getModelId()
- Specified by:
getModelId
in interface UOObject
getHue
public int getHue()
getX
public int getX()
getY
public int getY()
getNotoriety
public Notoriety getNotoriety()
getCharacterStatus
public CharacterStatus getCharacterStatus()
move
public void move()
- Updates this mobile's position according to their
direction
.
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
getPrefixNameSuffix
public String getPrefixNameSuffix()
getDirectionWithRunningInfo
public byte getDirectionWithRunningInfo()
setItemOnLayer
public void setItemOnLayer(Layer layer,
Item item)
getItemByLayer
public Item getItemByLayer(Layer layer)
removeItem
public void removeItem(Item item)
getLayer
public Layer getLayer(Item item)
emptyLayer
public void emptyLayer(Layer layer)
Copyright © 2010-2012. All Rights Reserved.