Beispiel #1
0
 public List <AbilityEntry> Entries(IAbilitySetup setup)
 {
     return(Ids.Values.Where(entry => entry.Setup == setup.GetType()).ToList());
 }
Beispiel #2
0
        public bool ValidSetup(IAbilitySetup setup)
        {
            var type = setup.GetType();

            return(type == Setup || type.IsSubclassOf(Setup));
        }