|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectnetsurfers.gicp.net.game.Player
public class Player
Class player
字段摘要 | |
---|---|
Bag |
mBag
|
List<Items> |
mEquipments
|
List<Quest> |
mQuests
|
int[][] |
mQuickSlot
|
List<Spell> |
mSpells
|
构造方法摘要 | |
---|---|
Player()
|
|
Player(int guid)
|
方法摘要 | |
---|---|
boolean |
getAttack()
|
ContentValues |
getCharacterContentValues()
Get the character content values when save the game |
float |
getCurrentX()
|
float |
getCurrentY()
|
ContentValues |
getEquipmentsetsContentValues()
Get the equipment sets content values when save the game |
ContentValues |
getInventoryContentValues(int slot)
Get the inventory content values when save the game |
int |
getMapID()
|
Constants.ORIENTATION |
getPlayerState()
|
ContentValues |
getQuestContentValues(int i)
Get the quest content values when save the game |
int |
getSizeOfQuests()
Get size of list quests |
int |
getSizeOfSpells()
Get size of list spells |
int |
getSpeed()
|
ContentValues |
getSpellContentValues(int i)
Get the spell content values when save the game |
void |
onMove(Constants.ORIENTATION orient)
|
void |
onUpdate()
|
void |
release()
|
void |
setCurrentX(float x)
|
void |
setCurrentY(float y)
|
void |
setMoveing(boolean moving)
|
void |
setPlayerState(Constants.ORIENTATION orient)
|
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
字段详细信息 |
---|
public List<Items> mEquipments
public Bag mBag
public List<Quest> mQuests
public List<Spell> mSpells
public int[][] mQuickSlot
构造方法详细信息 |
---|
public Player()
public Player(int guid)
方法详细信息 |
---|
public boolean getAttack()
public int getSpeed()
public float getCurrentX()
public void setCurrentX(float x)
public float getCurrentY()
public void setCurrentY(float y)
public Constants.ORIENTATION getPlayerState()
public void setPlayerState(Constants.ORIENTATION orient)
public int getMapID()
public void onMove(Constants.ORIENTATION orient)
public void setMoveing(boolean moving)
public void release()
public ContentValues getCharacterContentValues()
public ContentValues getEquipmentsetsContentValues()
public ContentValues getInventoryContentValues(int slot)
slot
- slot of the bag(values 0 - 27)
public ContentValues getQuestContentValues(int i)
i
- quest size(values 0 - getSizeOfQuests()
)
public ContentValues getSpellContentValues(int i)
i
- spell size(values 0 - getSizeOfSpells()
)
public int getSizeOfQuests()
public int getSizeOfSpells()
public void onUpdate()
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |