예제 #1
0
        internal static bool IsTankType(Type t)
        {
            var tank = GetTypeHelper.GetType(ModSettings.TankTypeName);

            return(t.IsSubclassOf(tank));
        }
예제 #2
0
        internal static bool IsGameObjectType(Type t)
        {
            var prj = GetTypeHelper.GetType(ModSettings.GameObjectTypeName);

            return(t.IsSubclassOf(prj));
        }
예제 #3
0
        internal static bool IsGamemodeType(Type t)
        {
            var gamemode = GetTypeHelper.GetType(ModSettings.GamemodeTypeName);

            return(t.IsSubclassOf(gamemode));
        }