Class TerrainCropTileFactory

java.lang.Object
com.csse3200.game.areas.terrain.TerrainCropTileFactory

public class TerrainCropTileFactory extends Object
  • Method Details

    • createTerrainEntity

      public static Entity createTerrainEntity(float x, float y)
      Creates a crop tile entity
      Parameters:
      x - x-position of the entity to be created
      y - y-position of the entity to be created
      Returns:
      created crop tile entity
    • createTerrainEntity

      public static Entity createTerrainEntity(com.badlogic.gdx.math.Vector2 position)
      Creates a crop tile entity
      Parameters:
      position - position of the entity to be created
      Returns:
      created crop tile entity