Class WeaponFactory
java.lang.Object
com.deco2800.game.entities.factories.WeaponFactory
Factory to create Weapon entities.
 
Each Weapon entity type should have a creation method that returns a corresponding entity.
- 
Method Summary
Modifier and TypeMethodDescriptionstatic EntityCreates a generic Weapon to be used as a base Weapon entity by more specific aura creation methods.static EntityCreates Level 2 dagger - Athena's Daggerstatic EntityCreates basic weapon for enemy characterstatic EntityCreate a golden plunger bowstatic EntityCreates Level 2 dagger 2 - Hera's Daggerstatic EntityCreates hera and Athena's Daggerstatic EntityCreates the PVC pipe weaponstatic EntityCreates the plunger weaponstatic EntityCreate plunger bowstatic EntityCreates the level 2 swords for playerstatic EntityCreates a dagger for testingstatic EntitycreateTestWeapon(String weaponName) Creates the specified type of weapon for testingstatic EntityCreates the level 2 trident for the player 
- 
Method Details
- 
createBaseWeapon
Creates a generic Weapon to be used as a base Weapon entity by more specific aura creation methods.- Returns:
 - base weapon entity
 
 - 
createDagger
Creates Level 2 dagger - Athena's Dagger- Returns:
 - level 2 dagger - Athena's Dagger
 
 - 
createHera
Creates Level 2 dagger 2 - Hera's Dagger- Returns:
 - Level 2 dagger 2 - Hera's Dagger
 
 - 
createDumbbell
Creates basic weapon for enemy character- Returns:
 - basic enemy dumbbell
 
 - 
createSwordLvl2
Creates the level 2 swords for player- Returns:
 - level 2 sword for player
 
 - 
createTridentLvl2
Creates the level 2 trident for the player- Returns:
 - level 2 trident for players
 
 - 
createHeraAthenaDag
Creates hera and Athena's Dagger- Returns:
 - hera and Athena's Dagger
 
 - 
createPlunger
Creates the plunger weapon- Returns:
 - plunger weapon
 
 - 
createPipe
Creates the PVC pipe weapon- Returns:
 - pipe weapon
 
 - 
createPlungerBow
Create plunger bow- Returns:
 - plunger bow
 
 - 
createGoldenPlungerBow
Create a golden plunger bow- Returns:
 - golden plunger bow
 
 - 
createTestDagger
Creates a dagger for testing- Returns:
 - test weapon
 
 - 
createTestWeapon
Creates the specified type of weapon for testing- Returns:
 - test weapon
 
 
 -