Fix: module-info.java
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package it.polimi.ingsw.gc14.Model.Game;
|
||||
package it.polimi.ingsw.gc14.Model.GamePackage;
|
||||
|
||||
public enum GameStages {
|
||||
WAITING,SLOT_CHOICE, RESOLVING_ACTIONS, RESOLVING_EVENT,ENDING,ENDED
|
||||
|
||||
@@ -12,8 +12,12 @@ public abstract class OrderLogicCard {
|
||||
effect(player,players.size());
|
||||
players.add(player);
|
||||
}
|
||||
public Player pull(Player player){
|
||||
public Player pull(){
|
||||
return players.remove();
|
||||
}
|
||||
public Player getFirst()
|
||||
{
|
||||
return players.peek();
|
||||
}
|
||||
protected abstract void effect(Player player, int index) throws IndexOutOfBoundsException;
|
||||
}
|
||||
|
||||
@@ -10,4 +10,5 @@ module it.polimi.ingsw.gc14 {
|
||||
opens it.polimi.ingsw.gc14.Model to com.google.gson;
|
||||
|
||||
exports it.polimi.ingsw.gc14;
|
||||
opens it.polimi.ingsw.gc14.Model.GamePackage to com.google.gson;
|
||||
}
|
||||
Reference in New Issue
Block a user