예제 #1
0
파일: Layer.cs 프로젝트: aragoubi/Nine
 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
 }
예제 #2
0
파일: LayerStack.cs 프로젝트: aragoubi/Nine
 internal void RemoveBullet(QuizBullet quizBullet)
 {
     var quiz = ((QuizContent) lessonModel.Exercises.Contents[lessonViewModel.CurrentPageIndex]);
     quiz.RemoveBullet(quizBullet.Offset);
     CurrentLayer.RemoveBullet(quizBullet);
 }
예제 #3
0
파일: QuizLayer.cs 프로젝트: aragoubi/Nine
 public void RemoveBullet(QuizBullet bullet)
 {
     (Content as QuizContent).RemoveBullet(bullet.Offset);
 }