Example #1
0
 internal void RemoveBullet(QuizBullet quizBullet)
 {
     // Already removed by the parent datacontext (because Bullet are not managed by the Layer, but by the Exercise)
     // So, just inform that their is a Bullet has been deleted to remove it of the view
     RaisePropertyChanged("BulletComponents");
     RaisePropertyChanged("RemoveBulletComponent"); // To update the view through LayerContainer.xaml.cs
 }
Example #2
0
        internal void RemoveBullet(QuizBullet quizBullet)
        {
            var quiz = ((QuizContent)lessonModel.Exercises.Contents[lessonViewModel.CurrentPageIndex]);

            quiz.RemoveBullet(quizBullet.Offset);
            CurrentLayer.RemoveBullet(quizBullet);
        }
Example #3
0
 public void RemoveBullet(QuizBullet bullet)
 {
     (Content as QuizContent).RemoveBullet(bullet.Offset);
 }