Example #1
0
 private static bool Predicate_Monster(IntersectionClass IC)
 {
     if ((IC.G.GetType() == typeof(MonsterGoomba) ||
          IC.G.GetType() == typeof(MonsterKoopa)))
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Example #2
0
 private static bool Predicate_Monster(IntersectionClass IC)
 {
     if ((IC.G.GetType() == typeof(MonsterGoomba) ||
         IC.G.GetType() == typeof(MonsterKoopa)))
         return true;
     else
         return false;
 }
Example #3
0
 public void AddCollision(IntersectionClass IC)
 {
     IntersectsObjects.Add(IC);
 }
Example #4
0
 public void AddCollision(IntersectionClass IC)
 {
     IntersectsObjects.Add(IC);
 }