Class Log


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

      Constructors 
      Constructor Description
      Log​(java.util.HashMap<java.lang.String,​com.badlogic.gdx.graphics.Texture> textures, int xPosition, int yPosition)
      Creates a log instance.
    • Constructor Detail

      • Log

        public Log​(java.util.HashMap<java.lang.String,​com.badlogic.gdx.graphics.Texture> textures,
                   int xPosition,
                   int yPosition)
        Creates a log instance.
        Parameters:
        textures - Reference to loaded textures
        xPosition - X-position.
        yPosition - Y-position.