Class Log


  • public class Log
    extends Obstacle
    Represents a log obstacle on the course.
    • Constructor Summary

      Constructors 
      Constructor Description
      Log​(int xPosition, int yPosition, com.badlogic.gdx.graphics.Texture texture)
      Creates a log instance.
    • Constructor Detail

      • Log

        public Log​(int xPosition,
                   int yPosition,
                   com.badlogic.gdx.graphics.Texture texture)
        Creates a log instance.
        Parameters:
        xPosition - X-position.
        yPosition - Y-position.
        texture - Texture asset for the log.