Class AttackListener

  • All Implemented Interfaces:
    IAttackListener

    class AttackListener
    extends java.lang.Object
    implements IAttackListener
    Author:
    Andi Hotz, (c) Sahits GmbH, 2014 Created on Feb 21, 2014
    • Field Detail

      • ship

        private final IShip ship
      • clientServerEventBus

        @Autowired
        @Qualifier("serverClientEventBus")
        private com.google.common.eventbus.AsyncEventBus clientServerEventBus
    • Method Detail

      • initializeEventBus

        @PostConstruct
        private void initializeEventBus()
      • unregisterEventBus

        @PreDestroy
        public void unregisterEventBus()
      • handleShipAttack

        public void handleShipAttack​(ShipAttackEvent event)