Renamed Interface Playtable to IPlayable

This commit is contained in:
2025-10-29 14:52:19 +01:00
parent 84e257c17c
commit d17edf7c4a
2 changed files with 3 additions and 3 deletions

View File

@@ -1,10 +1,10 @@
package org.toop.game; package org.toop.game;
import org.toop.game.interfaces.Playable; import org.toop.game.interfaces.IPlayable;
import java.util.Arrays; import java.util.Arrays;
public abstract class Game implements Playable { public abstract class Game implements IPlayable {
public static final char EMPTY = (char)0; public static final char EMPTY = (char)0;

View File

@@ -3,7 +3,7 @@ package org.toop.game.interfaces;
import org.toop.game.enumerators.GameState; import org.toop.game.enumerators.GameState;
import org.toop.game.records.Move; import org.toop.game.records.Move;
public interface Playable { public interface IPlayable {
Move[] getLegalMoves(); Move[] getLegalMoves();
GameState play(Move move); GameState play(Move move);
} }