mirror of
				https://github.com/inf112-v20/Fiasko.git
				synced 2025-11-03 19:23:45 +01:00 
			
		
		
		
	Fjerner ubrukte tilstander fra GameState
This commit is contained in:
		@@ -1,16 +1,16 @@
 | 
				
			|||||||
package inf112.fiasko.roborally.elementproperties;
 | 
					package inf112.fiasko.roborally.elementproperties;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * This enum represents the different states the game can be in
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
public enum GameState {
 | 
					public enum GameState {
 | 
				
			||||||
    //Indicates that the server is waiting for something
 | 
					
 | 
				
			||||||
    WAITING,
 | 
					 | 
				
			||||||
    //Gives the game Access to the client and server
 | 
					    //Gives the game Access to the client and server
 | 
				
			||||||
    BEGINNING_OF_GAME,
 | 
					    BEGINNING_OF_GAME,
 | 
				
			||||||
    //Indicates that the users' input is being run. The board should be shown
 | 
					    //Indicates that the users' input is being run. The board should be shown
 | 
				
			||||||
    RUNNING_PROGRAMS,
 | 
					    RUNNING_PROGRAMS,
 | 
				
			||||||
    //Indicates that
 | 
					    //Indicates that
 | 
				
			||||||
    INITIAL_SETUP,
 | 
					    INITIAL_SETUP,
 | 
				
			||||||
    //
 | 
					 | 
				
			||||||
    TURN_SETUP,
 | 
					 | 
				
			||||||
    //Indicates that the game is in the process of cleaning up after a turn
 | 
					    //Indicates that the game is in the process of cleaning up after a turn
 | 
				
			||||||
    TURN_CLEANUP,
 | 
					    TURN_CLEANUP,
 | 
				
			||||||
    //Indicates that the user is in the process of choosing cards
 | 
					    //Indicates that the user is in the process of choosing cards
 | 
				
			||||||
@@ -19,13 +19,9 @@ public enum GameState {
 | 
				
			|||||||
    CHOOSING_POWER_DOWN,
 | 
					    CHOOSING_POWER_DOWN,
 | 
				
			||||||
    //Indicates that the user is in the process of choosing whether to stay in power down
 | 
					    //Indicates that the user is in the process of choosing whether to stay in power down
 | 
				
			||||||
    CHOOSING_STAY_IN_POWER_DOWN,
 | 
					    CHOOSING_STAY_IN_POWER_DOWN,
 | 
				
			||||||
    //Indicates that the user is in the process of sending their cards to the server
 | 
					 | 
				
			||||||
    SENDING_CARDS,
 | 
					 | 
				
			||||||
    //Indicates that the game is won by a player
 | 
					    //Indicates that the game is won by a player
 | 
				
			||||||
    GAME_IS_WON,
 | 
					    GAME_IS_WON,
 | 
				
			||||||
 | 
					    //Indicates that the game is currently waiting for something
 | 
				
			||||||
    JUST_BEFORE_CHOOSING_CARDS,
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    LOADING
 | 
					    LOADING
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user