Пример #1
0
 public override string ToString()
 {
     return(HealthViewModel.FormatValue(this.Health));
 }
 public DamagableModuleViewModel(CommandBindingCollection commandBindings, IDamageableModule module, TankViewModelBase owner)
     : base(commandBindings, module, owner)
 {
     this.Health = new HealthViewModel(module.MaxHealth, module.MaxRegenHealth);
 }