Class SoulGenerator
java.lang.Object
gamelogic.SoulGenerator
Creates random soul instances based on the current level unlocks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateSoul(int level) Generates one random soul allowed for the given level.
-
Constructor Details
-
SoulGenerator
public SoulGenerator()Creates a soul generator with its own randomizer.
-
-
Method Details
-
generateSoul
Generates one random soul allowed for the given level.- Parameters:
level- current game level- Returns:
- newly created soul
-