public GamePasswordViewModel AddGamePassword(PasswordGameRequirement gamePasword, int position) { var addedPassword = new GamePasswordViewModel(this, gamePasword, position); DisplayObjects.Add(addedPassword); RaiseAddedDisplayObjectEvent(this, addedPassword); return(addedPassword); }
public void RemovePasswordViewModel(GamePasswordViewModel passwordToRemove) { DisplayObjects.Remove(passwordToRemove); }
public void AddPasswordViewModel(GamePasswordViewModel passwordToAdd) { DisplayObjects.Add(passwordToAdd); RaiseAddedDisplayObjectEvent(this, passwordToAdd); }