Class CollectableCreator
java.lang.Object
de.tum.cit.fop.maze.objects.collectables.CollectableCreator
Factory class for creating random collectables.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CollectablecreateRandomCollectable(com.badlogic.gdx.math.Vector2 startpos) Creates a random collectable at a position.
-
Constructor Details
-
CollectableCreator
public CollectableCreator()
-
-
Method Details
-
createRandomCollectable
Creates a random collectable at a position.- Parameters:
startpos- Starting position- Returns:
- New collectable instance
-