make more stuff ErrorDumpable
This commit is contained in:
@@ -23,6 +23,8 @@ import org.newdawn.slick.Graphics;
|
||||
import yugecin.opsudance.core.DisplayContainer;
|
||||
import yugecin.opsudance.core.state.OpsuState;
|
||||
|
||||
import java.io.StringWriter;
|
||||
|
||||
public class EmptyRedState implements OpsuState {
|
||||
|
||||
private int counter;
|
||||
@@ -96,4 +98,10 @@ public class EmptyRedState implements OpsuState {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeErrorDump(StringWriter dump) {
|
||||
dump.append("> EmptyRedState dump\n");
|
||||
dump.append("its red\n");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -23,6 +23,8 @@ import org.newdawn.slick.Graphics;
|
||||
import yugecin.opsudance.core.DisplayContainer;
|
||||
import yugecin.opsudance.core.state.OpsuState;
|
||||
|
||||
import java.io.StringWriter;
|
||||
|
||||
public class EmptyState implements OpsuState {
|
||||
|
||||
private int counter;
|
||||
@@ -92,4 +94,10 @@ public class EmptyState implements OpsuState {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeErrorDump(StringWriter dump) {
|
||||
dump.append("> EmptyState dump\n");
|
||||
dump.append("its green\n");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user