Beispiel #1
0
 public ClientPlayer(UInt32 PlayerID)
     : base(PlayerID)
 {
     Skill["Fist"]   = new ClientSkill("Fist Fighting");
     Skill["Club"]   = new ClientSkill("Club Fighting");
     Skill["Sword"]  = new ClientSkill("Sword Fighting");
     Skill["Axe"]    = new ClientSkill("Axe Fighting");
     Skill["Dist"]   = new ClientSkill("Distance Fighting");
     Skill["Shield"] = new ClientSkill("Shielding");
     Skill["Fish"]   = new ClientSkill("Fishing");
 }
Beispiel #2
0
        public SkillLabel(ClientSkill Skill)
            : base(null, UIElementType.None)
        {
            this.Skill = Skill;

            NameLabel = new UILabel();
            AddSubview(NameLabel);

            ValueLabel = new UILabel();
            ValueLabel.TextAlignment = UITextAlignment.Right;
            AddSubview(ValueLabel);
        }