public MarioAndHiddenBlockCollisionResponse(ICollision collision)
 {
     this.firstEntity  = (IMario)collision.GetFirstEntity();
     this.secondEntity = (IBlock)collision.GetSecondEntity();
     this.collision    = collision;
 }
Exemple #2
0
 public MarioAndBrickBlockWithItemCollisionResponse(ICollision collision)
 {
     this.firstEntity  = (IMario)collision.GetFirstEntity();
     this.secondEntity = (IBlock)collision.GetSecondEntity();
     this.collision    = collision;
 }
Exemple #3
0
 public MarioAndEnemyCollisionResponse(ICollision collision)
 {
     this.firstEntity  = (IMario)collision.GetFirstEntity();
     this.secondEntity = (IEnemy)collision.GetSecondEntity();
     this.collision    = collision;
 }
Exemple #4
0
 public MarioAndSuperMushroomCollisionResponse(ICollision collision)
 {
     this.firstEntity  = (IMario)collision.GetFirstEntity();
     this.secondEntity = (IItem)collision.GetSecondEntity();
     this.collision    = collision;
 }