コード例 #1
0
ファイル: Entity.cs プロジェクト: ayamidesu/shared
        public Entity(Attributes attributeData)
        {
            characterType = attributeData.EntityName;
            Strength = attributeData.Strength;
            Dexterity = attributeData.Dexterity;
            Cunning = attributeData.Cunning;
            Willpower = attributeData.Willpower;
            Magic = attributeData.Magic;
            Constitution = attributeData.Constitution;

            health = new StatusBar(0);
            stamina = new StatusBar(0);
            mana = new StatusBar(0);
        }
コード例 #2
0
ファイル: Attributes.cs プロジェクト: ayamidesu/shared
        public static Attributes FromFile(string filename)
        {
            Attributes character = new Attributes();

            return character;
        }
コード例 #3
0
ファイル: MainCharacter.cs プロジェクト: ayamidesu/shared
 public MainCharacter(Attributes attributeData)
     : base(attributeData)
 {
 }