mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
added ekstra functons to the interface
This commit is contained in:
parent
a1fba2da88
commit
6773bc0977
@ -1,6 +1,10 @@
|
|||||||
package inf112.fiasko.roborally.objects;
|
package inf112.fiasko.roborally.objects;
|
||||||
|
|
||||||
import inf112.fiasko.roborally.elementproperties.GameState;
|
import inf112.fiasko.roborally.elementproperties.GameState;
|
||||||
|
import inf112.fiasko.roborally.networking.containers.PowerdownContainer;
|
||||||
|
import inf112.fiasko.roborally.networking.containers.ProgamsContainer;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This interface describes
|
* This interface describes
|
||||||
@ -23,4 +27,21 @@ public interface IInteractableGame {
|
|||||||
* @return A string of the player name
|
* @return A string of the player name
|
||||||
*/
|
*/
|
||||||
String getWinningPlayerName();
|
String getWinningPlayerName();
|
||||||
|
|
||||||
|
void reciveAllProgrammes(ProgamsContainer programs) throws InterruptedException;
|
||||||
|
|
||||||
|
void recivedStayInPowerdown(PowerdownContainer powerdowns);
|
||||||
|
|
||||||
|
List<ProgrammingCard> getProgram();
|
||||||
|
|
||||||
|
int getProgramSize();
|
||||||
|
|
||||||
|
void setPlayerHand(ProgrammingCardDeck playerHand);
|
||||||
|
|
||||||
|
ProgrammingCardDeck getPlayerHand();
|
||||||
|
|
||||||
|
void setProgram(List<ProgrammingCard> program);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user