mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2026-06-18 19:35:58 +00:00
31 lines
549 B
C#
31 lines
549 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Verse;
|
|
|
|
namespace Rimworld_Animations
|
|
{
|
|
public class PawnTest_Or : BasePawnTest
|
|
{
|
|
public List<BasePawnTest> tests;
|
|
public override bool PawnTest(Pawn pawn)
|
|
{
|
|
|
|
foreach (BasePawnTest test in tests)
|
|
{
|
|
|
|
if (test.PawnTest(pawn))
|
|
{
|
|
return true;
|
|
}
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
}
|