Class AuraFactory

java.lang.Object
com.deco2800.game.entities.factories.AuraFactory

public class AuraFactory extends Object
Factory to create Aura entities.

Each Aura entity type should have a creation method that returns a corresponding entity.

  • Method Details

    • createBaseAura

      public static Entity createBaseAura()
      Creates a generic Aura to be used as a base Aura entity by more specific aura creation methods.
      Returns:
      base aura entity
    • createWeaponSpeedBuff

      public static Entity createWeaponSpeedBuff()
      Creates weapon speed buff aura using BaseAuraConfig file that takes in the Aura stats
      Returns:
      entity weapon speed buff aura
    • createWeaponSpeedDeBuff

      public static Entity createWeaponSpeedDeBuff()
      Creating weapon Speed Debuff using BaseAuraConfig file that takes in the Aura stats
      Returns:
      entity weapon Speed Debuff
    • createWeaponDmgBuff

      public static Entity createWeaponDmgBuff()
      Creating weapon Damage Buff using BaseAuraConfig file that takes in the Aura stats
      Returns:
      entity weapon Damage Buff
    • createWeaponDmgDebuff

      public static Entity createWeaponDmgDebuff()
      Creating weapon Damage Debuff using BaseAuraConfig file that takes in the Aura stats
      Returns:
      entity weapon Damage Debuff
    • createFireBuff

      public static Entity createFireBuff()
      Creating weapon Fire buff using BaseAuraConfig file that takes in the Aura stats
      Returns:
      entity weapon Fire buff
    • createPoisonBuff

      public static Entity createPoisonBuff()
      Creating weapon Poison buff using BaseAuraConfig file that takes in the Aura stats
      Returns:
      entity weapon Poison buff
    • createTestAura

      public static Entity createTestAura()
      Creates a dagger for testing
      Returns:
      test weapon