have method

  1. @override
bool have(
  1. List<StarName> stars
)
override

判断某一个宫位三方四正是否包含目标星耀,必须要全部包含才会返回true @stars 星耀名称,可以包含 主星,辅星,杂星 @return true / false

Implementation

@override
bool have(List<StarName> stars) {
  // TODO: implement have
  return isSurroundedByStars(this, stars);
}