Package com.csse3200.game.areas.terrain
Class TerrainCropTileFactory
java.lang.Object
com.csse3200.game.areas.terrain.TerrainCropTileFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic Entity
createTerrainEntity
(float x, float y) Creates a crop tile entitystatic Entity
createTerrainEntity
(com.badlogic.gdx.math.Vector2 position) Creates a crop tile entity
-
Method Details
-
createTerrainEntity
Creates a crop tile entity- Parameters:
x
- x-position of the entity to be createdy
- y-position of the entity to be created- Returns:
- created crop tile entity
-
createTerrainEntity
Creates a crop tile entity- Parameters:
position
- position of the entity to be created- Returns:
- created crop tile entity
-