Beispiel #1
0
 public void setCharacterInfo(int head, string name, int id, int money)
 {
     mCharacterHead.setSpriteName("Head" + head);
     mCharacterName.setText(name);
     mCharacterID.setText("ID:" + StringUtility.intToString(id));
     mMoney.setText(StringUtility.intToString(money));
 }
Beispiel #2
0
    public void setMoneyDelta(int moneyDelta)
    {
        string deltaStr = StringUtility.intToString(Mathf.Abs(moneyDelta));

        deltaStr = moneyDelta > 0 ? ("+" + deltaStr) : ("-" + deltaStr);
        mMoneyDelta.setText(deltaStr);
    }
Beispiel #3
0
 public void setName(string name)
 {
     mName.setText(name);
 }
Beispiel #4
0
 public void notifyInfo(string info)
 {
     mInfo.setText(info);
 }
Beispiel #5
0
 public void setRoomID(int roomID)
 {
     mRoomIDLabel.setText(StringUtility.intToString(roomID));
 }
Beispiel #6
0
 public void setMultiple(int multiple)
 {
     mMultipleCount.setText(StringUtility.intToString(multiple) + " 番");
 }
Beispiel #7
0
 public void setDescribe(string describe)
 {
     mDescribe.setText(describe);
 }