Class BlacksmithEngine
- java.lang.Object
-
- ch.sahits.game.openpatrician.engine.AbstractEngine
-
- ch.sahits.game.openpatrician.engine.land.city.BlacksmithEngine
-
@Component @Lazy public class BlacksmithEngine extends AbstractEngine
Engine controlling the blacksmiths in the armories.- Author:
- Andi Hotz, (c) Sahits GmbH, 2017 Created on Jul 28, 2017
-
-
Constructor Summary
Constructors Constructor Description BlacksmithEngine()
-
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.ClockTickDayChange event)
-
-
-
Method Detail
-
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.
-
handleDailyUpdate
public void handleDailyUpdate(ch.sahits.game.event.data.ClockTickDayChange event)
-
-