CanUnsuspend.cs 388 B

123456789101112131415
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using System;
  4. using System.Linq;
  5. using UnityEngine;
  6. public partial class CardEffectCommons
  7. {
  8. #region Can unsuspend oneselef
  9. public static bool CanUnsuspend(Permanent permanent)
  10. {
  11. return permanent != null && permanent.TopCard != null && permanent.IsSuspended && permanent.CanUnsuspend;
  12. }
  13. #endregion
  14. }