make inner class static

This commit is contained in:
xenohedron 2024-02-17 02:16:14 -05:00
parent a8648c25f7
commit 0a5370cf27
3 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ import org.apache.log4j.Logger;
*/
public abstract class DraftCube {
public class CardIdentity {
public static class CardIdentity {
private final String name;
private final String extension;
@ -55,7 +55,7 @@ public abstract class DraftCube {
protected List<CardIdentity> cubeCards = new ArrayList<>();
protected List<CardIdentity> leftCubeCards = new ArrayList<>();
public DraftCube(String name) {
protected DraftCube(String name) {
this.name = name;
this.code = getClass().getSimpleName();
}