예제 #1
0
        public GamePasswordViewModel AddGamePassword(PasswordGameRequirement gamePasword, int position)
        {
            var addedPassword = new GamePasswordViewModel(this, gamePasword, position);

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