public GamePasswordViewModel AddGamePassword(PasswordGameRequirement gamePasword, int position) { var addedPassword = new GamePasswordViewModel(this, gamePasword, position); DisplayObjects.Add(addedPassword); RaiseAddedDisplayObjectEvent(this, addedPassword); return(addedPassword); }
public TextViewModel AddText(Text text, int position) { var addedText = new TextViewModel(this, text, position); DisplayObjects.Add(addedText); RaiseAddedDisplayObjectEvent(this, addedText); return(addedText); }
public PictureViewModel AddPicture(Picture picture, int position) { var addedPicture = new PictureViewModel(this, picture, position); DisplayObjects.Add(addedPicture); RaiseAddedDisplayObjectEvent(this, addedPicture); return(addedPicture); }
public PictureViewModel AddPicture(Picture picture) { var addedPicture = new PictureViewModel(this, picture, (int)picture.PositionInIntroduction); DisplayObjects.Add(addedPicture); RaiseAddedDisplayObjectEvent(this, addedPicture); return(addedPicture); }
public TextViewModel AddText(Text text) { var addedText = new TextViewModel(this, text, (int)text.PositionInIntroduction); DisplayObjects.Add(addedText); RaiseAddedDisplayObjectEvent(this, addedText); return(addedText); }
public void AddPasswordViewModel(GamePasswordViewModel passwordToAdd) { DisplayObjects.Add(passwordToAdd); RaiseAddedDisplayObjectEvent(this, passwordToAdd); }
public void AddDisplayObjectViewModel(DisplayObjectViewModel displayObjectViewModel) { DisplayObjects.Add(displayObjectViewModel); RaiseAddedDisplayObjectEvent(this, displayObjectViewModel); }