public SaveActionEditsCommand(ActionViewModel actionViewModel)
 {
     this.actionViewModel = actionViewModel;
 }
 public DecrementPerRoundCommand(ActionViewModel actionViewModel)
 {
     this.actionViewModel = actionViewModel;
 }
 public EditAction(BattleAction action)
 {
     InitializeComponent();
     actionViewModel = new ActionViewModel(action);
     DataContext = actionViewModel;
 }
 public void Setup()
 {
     action = new BattleAction("name", .5, 1);
     actionViewModel = new ActionViewModel(action);
     saveActionEditsCommand = new SaveActionEditsCommand(actionViewModel);
 }
 public void Setup()
 {
     var action = new BattleAction("name", 1, 1);
     actionViewModel = new ActionViewModel(action);
     decrementPerRoundCommand = new DecrementPerRoundCommand(actionViewModel);
 }
 public void Setup()
 {
     action = new BattleAction("name", 1.5, 2);
     actionViewModel = new ActionViewModel(action);
 }