Class ArmourFactory
java.lang.Object
com.deco2800.game.entities.factories.ArmourFactory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Armour types from ArmourTypeConfig which are used in the game. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ArmourFactory
public ArmourFactory()
-
-
Method Details
-
createBaseArmour
Creates a generic Armour to be used as a base Armour entity.- Returns:
- base armour entity
-
createArmour
Gets the stats for the specific armour type being referred to and then creates that armour- Parameters:
type
- This refers to the type of armour which is being used from ArmourTypeConfig- Returns:
-
createTestArmour
-