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