示例#1
0
 protected override bool isSuitable(CubeManager mgr)
 {
     if (cubesInDecomposition.value.Count > 0)
     {
         return(mgr.IsTouchingNeighbourInCompose() && !mgr.IsInCompose());
     }
     return(mgr.CanDecompose() && !mgr.IsInCompose());
 }
示例#2
0
 protected virtual bool isSuitable(CubeManager mgr)
 {
     return mgr.CanDecompose();
 }
示例#3
0
 protected override bool isSuitable(CubeManager mgr)
 {
     if (cubesInDecomposition.value.Count > 0) {
         return mgr.IsTouchingNeighbourInCompose() && !mgr.IsInCompose();
     }
     return mgr.CanDecompose() && !mgr.IsInCompose();
 }
示例#4
0
 protected virtual bool isSuitable(CubeManager mgr)
 {
     return(mgr.CanDecompose());
 }