using System;
using UnityEngine;
namespace UnityAtoms
{
///
/// Base abstract class for Conditions. Inherits from `BaseAtom`.
///
public abstract class AtomCondition : BaseAtom
{
///
/// Check the condition.
///
public virtual bool Call() => false;
}
///
/// Generic abstract base class for Conditions. Inherits from `AtomCondition`.
///
public abstract class AtomCondition : AtomCondition
{
///
/// Evaluate the Condition.
///
/// The first parameter.
public virtual bool Call(T t) => base.Call();
}
}