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