static public int TriZombieDecompo(Personnel p1, Personnel p2) { int result = 0; if (p1 is Zombie && p2 is Zombie) { result = (p1 as Zombie).DegreDecomposition.CompareTo((p2 as Zombie).DegreDecomposition); } else if (p1 is Zombie) { result = 1; } else if (p2 is Zombie) { result = -1; } return(result); }
public static bool OnlyZombie(Personnel zombie) { return(zombie is Zombie); }
public static bool OnlyLoupGarou(Personnel loupGarou) { return(loupGarou is LoupGarou); }
public static bool OnlyVampire(Personnel vampire) { return(vampire is Vampire); }
public static bool OnlyFantome(Personnel fantome) { return(fantome is Fantome); }
public static bool OnlyDemon(Personnel demon) { return(demon is Demon); }
public static bool OnlyMonstre(Personnel monstre) { return(monstre is Monstre); }
public static bool OnlySorcier(Personnel sorcier) { return(sorcier is Sorcier); }
public static bool NoFilter(Personnel attraction) { return(true); }