Updated abstract 'TurnAutomatonState' class.
Updated the abstract 'TurnAutomatonState' class by adding the 'getTurnAutomaton' method to it.
This commit is contained in:
		@@ -20,4 +20,13 @@ public TurnAutomatonState(TurnState turnAutomaton, ServerGameLogic logic) {
 | 
			
		||||
        super(logic);
 | 
			
		||||
        this.turnAutomaton = turnAutomaton;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * This method will be used to return turnAutomaton attribute of TurnAutomatonState object.
 | 
			
		||||
     *
 | 
			
		||||
     * @return turnAutomaton as a TurnState object
 | 
			
		||||
     */
 | 
			
		||||
    public TurnState getTurnAutomaton() {
 | 
			
		||||
        return this.turnAutomaton;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user