protected override bool isSuitable(CubeManager mgr) { if (cubesInDecomposition.value.Count > 0) { return(mgr.IsTouchingNeighbourInCompose() && !mgr.IsInCompose()); } return(mgr.CanDecompose() && !mgr.IsInCompose()); }
protected virtual bool isSuitable(CubeManager mgr) { return mgr.CanDecompose(); }
protected override bool isSuitable(CubeManager mgr) { if (cubesInDecomposition.value.Count > 0) { return mgr.IsTouchingNeighbourInCompose() && !mgr.IsInCompose(); } return mgr.CanDecompose() && !mgr.IsInCompose(); }
protected virtual bool isSuitable(CubeManager mgr) { return(mgr.CanDecompose()); }