예제 #1
0
 public UnitAccount()
 {
     ModelInfo = new ModelInfo();
     Inventory = "";
     Card = -1;
     _properties = new List<UnitFeature>();
     Comments = "";
     LastUpdate = DateTime.Now;
 }
예제 #2
0
 public UnitAccount(int id, ModelInfo model, string inventory, int card, 
     IList<UnitFeature> properties, string comments, DateTime lastUpdate)
 {
     Id = id;
     ModelInfo = model;
     Inventory = inventory;
     Card = card;
     _properties = (List<UnitFeature>) properties;
     Comments = comments;
     LastUpdate = lastUpdate;
 }