mirror of
				https://github.com/inf112-v20/Fiasko.git
				synced 2025-10-26 23:33:44 +01:00 
			
		
		
		
	added ekstra functons to the interface
This commit is contained in:
		| @@ -1,6 +1,10 @@ | ||||
| package inf112.fiasko.roborally.objects; | ||||
|  | ||||
| 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 | ||||
| @@ -23,4 +27,21 @@ public interface IInteractableGame { | ||||
|      * @return A string of the player name | ||||
|      */ | ||||
|     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); | ||||
|  | ||||
|  | ||||
|  | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Tobydrama
					Tobydrama