Interface GameObjects.GameObjectListener

All Known Implementing Classes:
GameScreen, GroupPanelController, MapPanelController
Enclosing class:
GameObjects

public static interface GameObjects.GameObjectListener
Interface for objects that need to follow new top level entities being added to, or removed from the current zone.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addEntity​(IEntity entity)
    Called when a top level entity is added to the user's zone.
    void
    removeEntity​(IEntity entity)
    Called when a top level entity is removed from the user's zone.
  • Method Details

    • addEntity

      void addEntity(IEntity entity)
      Called when a top level entity is added to the user's zone.
      Parameters:
      entity -
    • removeEntity

      void removeEntity(IEntity entity)
      Called when a top level entity is removed from the user's zone.
      Parameters:
      entity -