Class LoanerEngine
- java.lang.Object
-
- ch.sahits.game.openpatrician.engine.AbstractEngine
-
- ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
-
public class LoanerEngine extends AbstractEngine
Engine for controlling all the loaners.- Author:
- Andi Hotz, (c) Sahits GmbH, 2014 Created on Dec 30, 2014
-
-
Constructor Summary
Constructors Constructor Description LoanerEngine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<AbstractEngine>getChildren()Any engine may hold various child engines.voidhandleDailyUpdate(ch.sahits.game.event.data.PeriodicalDailyUpdate event)
-
-
-
Method Detail
-
handleDailyUpdate
public void handleDailyUpdate(ch.sahits.game.event.data.PeriodicalDailyUpdate event)
-
getChildren
public java.util.List<AbstractEngine> getChildren()
Description copied from class:AbstractEngineAny engine may hold various child engines. This is the way to retrieve them. If there are no child engines, return an empty list. Subclasses have to implement this in the proper way.- Specified by:
getChildrenin classAbstractEngine- Returns:
- list of child engines.
-
-