Interface Fireball

    • Method Detail

      • setDirection

        void setDirection​(@NotNull
                          Vector direction)
        Fireballs fly straight and do not take setVelocity(...) well.
        Parameters:
        direction - the direction this fireball is flying toward
      • getDirection

        @NotNull
        Vector getDirection()
        Retrieve the direction this fireball is heading toward
        Returns:
        the direction