Class HumanPlayerEngine


  • public class HumanPlayerEngine
    extends AbstractEngine
    Engine handling automated tasks that are specific to a human player only.
    • Constructor Detail

      • HumanPlayerEngine

        public HumanPlayerEngine()
    • Method Detail

      • getChildren

        public java.util.List<AbstractEngine> getChildren()
        Description copied from class: AbstractEngine
        Any 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:
        getChildren in class AbstractEngine
        Returns:
        list of child engines.
      • handleShipAuctionFinished

        public void handleShipAuctionFinished​(ch.sahits.game.openpatrician.event.data.ShipAuctionFinished event)
      • handleShipNotAuction

        public void handleShipNotAuction​(ch.sahits.game.openpatrician.event.data.ShipNotAuctioned event)
      • handleBuildingAuctionFinished

        public void handleBuildingAuctionFinished​(ch.sahits.game.openpatrician.event.data.BuildingAuctionFinished event)
      • handleBuildingNotAuction

        public void handleBuildingNotAuction​(ch.sahits.game.openpatrician.event.data.BuildingNotAuctioned event)