Class EntityReward
java.lang.Object
com.csse3200.game.missions.rewards.Reward
com.csse3200.game.missions.rewards.EntityReward
An Entity Reward class for when a player completes a Quest and receives reward entity as a result
-
Constructor Summary
ConstructorsConstructorDescriptionEntityReward
(List<Entity> rewardEntities) Constructor for the EntityReward class -
Method Summary
Modifier and TypeMethodDescriptionvoid
collect()
Collects the reward by spawning the reward entities at the player's positionMethods inherited from class com.csse3200.game.missions.rewards.Reward
isCollected, read, setCollected