Ejemplo n.º 1
0
        public GamePasswordViewModel AddGamePassword(PasswordGameRequirement gamePasword, int position)
        {
            var addedPassword = new GamePasswordViewModel(this, gamePasword, position);

            DisplayObjects.Add(addedPassword);
            RaiseAddedDisplayObjectEvent(this, addedPassword);
            return(addedPassword);
        }
Ejemplo n.º 2
0
 public void RemovePasswordViewModel(GamePasswordViewModel passwordToRemove)
 {
     DisplayObjects.Remove(passwordToRemove);
 }
Ejemplo n.º 3
0
 public void AddPasswordViewModel(GamePasswordViewModel passwordToAdd)
 {
     DisplayObjects.Add(passwordToAdd);
     RaiseAddedDisplayObjectEvent(this, passwordToAdd);
 }