Interface HasJerryCan

All Known Implementing Classes:
JerryCanClickEvent, VehicleFuelEvent

public interface HasJerryCan
Interface for all events with jerrycans
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get current fuel in the jerry can (before the event is executed)
    int
    Get the size of the jerry can (in litres)
  • Method Details

    • getJerryCanFuel

      int getJerryCanFuel()
      Get current fuel in the jerry can (before the event is executed)
      Returns:
      Current fuel in the jerry can
    • getJerryCanSize

      int getJerryCanSize()
      Get the size of the jerry can (in litres)
      Returns:
      Size of the jerry can