Class AuraFactory
java.lang.Object
com.deco2800.game.entities.factories.AuraFactory
Factory to create Aura entities.
Each Aura entity type should have a creation method that returns a corresponding entity.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Entity
Creates a generic Aura to be used as a base Aura entity by more specific aura creation methods.static Entity
Creating weapon Fire buff using BaseAuraConfig file that takes in the Aura statsstatic Entity
Creating weapon Poison buff using BaseAuraConfig file that takes in the Aura statsstatic Entity
Creates a dagger for testingstatic Entity
Creating weapon Damage Buff using BaseAuraConfig file that takes in the Aura statsstatic Entity
Creating weapon Damage Debuff using BaseAuraConfig file that takes in the Aura statsstatic Entity
Creates weapon speed buff aura using BaseAuraConfig file that takes in the Aura statsstatic Entity
Creating weapon Speed Debuff using BaseAuraConfig file that takes in the Aura stats
-
Method Details
-
createBaseAura
Creates a generic Aura to be used as a base Aura entity by more specific aura creation methods.- Returns:
- base aura entity
-
createWeaponSpeedBuff
Creates weapon speed buff aura using BaseAuraConfig file that takes in the Aura stats- Returns:
- entity weapon speed buff aura
-
createWeaponSpeedDeBuff
Creating weapon Speed Debuff using BaseAuraConfig file that takes in the Aura stats- Returns:
- entity weapon Speed Debuff
-
createWeaponDmgBuff
Creating weapon Damage Buff using BaseAuraConfig file that takes in the Aura stats- Returns:
- entity weapon Damage Buff
-
createWeaponDmgDebuff
Creating weapon Damage Debuff using BaseAuraConfig file that takes in the Aura stats- Returns:
- entity weapon Damage Debuff
-
createFireBuff
Creating weapon Fire buff using BaseAuraConfig file that takes in the Aura stats- Returns:
- entity weapon Fire buff
-
createPoisonBuff
Creating weapon Poison buff using BaseAuraConfig file that takes in the Aura stats- Returns:
- entity weapon Poison buff
-
createTestAura
Creates a dagger for testing- Returns:
- test weapon
-