Interface Projectile

    • Method Detail

      • getStartLocation

        Tile getStartLocation()
        The start tile of the projectile.
        Returns:
        Tile
      • getGameCycleStart

        int getGameCycleStart()
        The time at which this projectile was fired.
        Returns:
        int
        See Also:
        IGameAPI.getGameCycle()
      • getGameCycleEnd

        int getGameCycleEnd()
        The end time at which this projectile reached its target.
        Returns:
        int
        See Also:
        IGameAPI.getGameCycle()
      • getStartHeight

        int getStartHeight()
        Gets the start height.
        Returns:
        int
      • getEndHeight

        int getEndHeight()
        Gets the end height.
        Returns:
        int
      • getTarget

        Actor getTarget()
        The character that this projectile is targeting.
        Returns:
        the target or null
      • isTargetingMe

        boolean isTargetingMe()
        Gets whether or not this projectile is targeting me.
        Returns:
        true if targeting me, false otherwise