private Action CaptureStar(IndicatorController indicatorController) { var starPlatformController = indicatorController.GetMainController <StarPlatformController>(); return(() => { if (!starPlatformController.HasStar()) { return; } starPlatformController.PickUpStar(); OnCaptureStar?.Invoke(); }); }
private static IndicationType GetIndication(IndicatorController indicatorController) { return(!indicatorController ? IndicationType.EMPTY : indicatorController.GetIndication()); }