Enum Class EnvironmentalComponent.EnvironmentalObstacle

java.lang.Object
java.lang.Enum<EnvironmentalComponent.EnvironmentalObstacle>
com.deco2800.game.components.Environmental.EnvironmentalComponent.EnvironmentalObstacle
All Implemented Interfaces:
Serializable, Comparable<EnvironmentalComponent.EnvironmentalObstacle>, Constable
Enclosing class:
EnvironmentalComponent

public static enum EnvironmentalComponent.EnvironmentalObstacle extends Enum<EnvironmentalComponent.EnvironmentalObstacle>
Enum containing the associate values for the environmental component An environmental component has: resourceType: The type of resource resourceValue: The number of resources to be returned associated with resource type E.g A cobweb has resourceValue = 0, speedModifier = 0.6 indicating zero resources will be given when broken and when a player walks through it, their speed is reduced by 40%