mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 23:12:10 -08:00
Add files via upload
This commit is contained in:
parent
f1df1aeebb
commit
780dab0935
2 changed files with 5 additions and 4 deletions
|
|
@ -26,14 +26,15 @@ public class CardRun extends Rotater<String> {
|
|||
}
|
||||
|
||||
public int iterate() {
|
||||
if( stripeLen ==0 ){
|
||||
if ( stripeLen ==0 ){
|
||||
return super.iterate();
|
||||
if( stripeDepth < stripeWidth ){
|
||||
}
|
||||
if ( stripeDepth < stripeWidth ){
|
||||
++stripeDepth;
|
||||
return super.iterate(-stripeLen);
|
||||
}
|
||||
stripeDepth= 1;
|
||||
if this.isEdge(stripeLen){
|
||||
if ( this.isEdge(stripeLen)){
|
||||
this.stripeWidth= this.nextWidth();
|
||||
return super.iterate(-1);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ public class Rotater<T> {
|
|||
}
|
||||
|
||||
public int iterate() {
|
||||
return iterate(1)'
|
||||
return this.iterate(1);
|
||||
}
|
||||
|
||||
public T getNext() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue