﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Verse;

namespace Rimworld_Animations
{
    public class PawnTest_Multi : BasePawnTest
    {
        public List<BasePawnTest> tests = new List<BasePawnTest>();
        public override bool PawnTest(Pawn pawn)
        {
            //check all different pawn tests in list for pawn
            foreach (BasePawnTest test in tests)
            {
                if (!test.PawnTest(pawn))
                {
                    return false;
                }
            }

            return true;
        }
    }
}
