コード例 #1
0
 public Entity(int id, string[] name, CanSell marketRole)
 {
     _MarketRole = marketRole;
     _Inventory  = null;
     _NetWorth   = 0;
     _Name       = name;
     _ID         = id;
 }
コード例 #2
0
        public Entity(int id, string[] name, CanSell marketRole)
        {
            _MarketRole = marketRole;
            _Inventory  = null;
            _NetWorth   = 0;
            _Name       = new string[name.Length];

            int i = 0;

            foreach (string n in name)
            {
                _Name[i] = n;
                i++;
            }

            _ID = id;
        }
コード例 #3
0
ファイル: Living.cs プロジェクト: pericles-tpt/Trade
 public Living(int id, string[] name, CanSell marketRole) : base(id, name, marketRole)
 {
 }
コード例 #4
0
ファイル: Humanoid.cs プロジェクト: pericles-tpt/Trade
 public Humanoid(int id, string[] name, CanSell marketRole) : base(id, name, marketRole)
 {
 }