Class StoppableEvent

java.lang.Object
com.prineside.tdi2.events.StoppableEvent
All Implemented Interfaces:
Event
Direct Known Subclasses:
AbilitiesConfigChange, AbilityApply, AbilityStart, AbilityUseStart, AbilityUseStop, AddBuffToEnemy, BaseHealthChange, BestReplayLoadFromServer, BonusesReRoll, BonusPointsUpdate, BonusSelect, BonusStageRequirementMet, BonusStagesConfigSet, BuildingRemove, CancellableStoppableEvent, CoinsChange, CoreTileLevelUp, CoreTileUpgradeInstall, EnemyDespawn, EnemyDie, EnemyLootAdd, EnemyReachTarget, EnemySpawn, EnemyTakeDamage, ForceWaveAvailabilityChange, GameOver, GamePaused, GameResumed, GameSpeedChange, GameStateTick, GameValuesRecalculate, GateChange, GiveDamageToEnemy, HistoryUpdate, InventoryItemAdd, InventoryItemRemove, InventoryStackChange, IssuedItemsAdd, ItemDragPositionChange, ItemDragStart, ItemDragStop, MapDrawModeChange, MapEditorSelectionChange, MapSizeChange, MapValidationFail, MdpsUpdate, MinedResourcesChange, MinerBuild, MinerMineItem, MinerPlace, MinerRemove, MinerResourceChange, MinerSell, MinerUpgrade, ModifierBuild, ModifierCustomButtonPress, ModifierPlace, ModifierSell, MouseClick, MouseMove, NextWaveForce, PathfindingRebuild, PostRender, PreRender, ProjectileDespawn, RemoveBuffFromEnemy, Render, Render, RewardingAdBecameAvailable, RewardingAdRegistered, ScoreChange, ScreenResize, SelectionChange, StartRender, SystemsDispose, SystemsPostSetup, SystemsSetup, SystemsStateRestore, TileChange, TowerAbilityChange, TowerAimStrategyChange, TowerBuild, TowerCustomButtonPress, TowerExperienceChange, TowerLevelUp, TowerPlace, TowerPreSell, TowersDefaultAimStrategyChange, TowerSell, TowerUpgrade, UnitDespawn, UnitDie, UnitSpawn, VisibleDisplayFrameChange, WaveComplete, WaveStart, WaveStatusChange

public abstract class StoppableEvent extends Object implements Event
Can be stopped, can't be canceled
  • Constructor Details

    • StoppableEvent

      public StoppableEvent()
  • Method Details

    • isStopped

      public final boolean isStopped()
      Specified by:
      isStopped in interface Event
      Returns:
      true if event is stopped by some of the listeners
    • stop

      public final void stop()
      Description copied from interface: Event
      Stop event propagation. When any listener stops the event, all of the remaining listeners down the chain will never be notified about it.
      Specified by:
      stop in interface Event