Class FahrzeugBlockKollisionEreignis


public class FahrzeugBlockKollisionEreignis extends FahrzeugKollisionEreignis
Raised when a fahrzeug collides with a block.
  • Constructor Details

    • FahrzeugBlockKollisionEreignis

      public FahrzeugBlockKollisionEreignis(@NotNull Fahrzeug fahrzeug, @NotNull Block block)
  • Method Details

    • getBlock

      @NotNull public Block getBlock()
      Gets the block the fahrzeug collided with
      Returns:
      the block the fahrzeug collided with
    • getHandlers

      @NotNull public HandhaberListe getHandlers()
      Specified by:
      getHandlers in class Ereignis
    • getHandlerList

      @NotNull public static HandhaberListe getHandlerList()