-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Team-4---General-Mobs' into Team-4--General-Mobs-Max
- Loading branch information
Showing
6 changed files
with
97 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 9 additions & 3 deletions
12
source/core/src/main/com/csse3200/game/entities/PredefinedWeapons.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
package com.csse3200.game.entities; | ||
|
||
import com.csse3200.game.entities.configs.NPCConfigs; | ||
import com.csse3200.game.entities.configs.ProjectileConfig; | ||
|
||
public class PredefinedWeapons { | ||
// Melee attacks | ||
public static Melee sword = new Melee(10, 4, "fire", 1, 1); | ||
public static Melee punch = new Melee(3, 1, "air", 1, 1); | ||
public static Melee axe = new Melee(9, 3, "fire", 1, 1); | ||
public static Melee kick = new Melee(2, 1, "earth", 1, 1); | ||
|
||
public static ProjectileConfig fireBall = new ProjectileConfig(); | ||
public static ProjectileConfig frostBall = new ProjectileConfig(); | ||
|
||
// Projectile attacks TODO: change Weapon and Melee to Projectile class | ||
public static Weapon fireBall = new Melee(9, 20, "fire", 1, 1); | ||
public static Weapon frostBall = new Melee(6, 20, "ice", 1, 1); | ||
public static Weapon hurricane = new Melee(7, 20, "air", 1, 1); | ||
// public static Weapon fireBall = new Melee(9, 20, "fire", 1, 1); | ||
// public static Weapon frostBall = new Melee(6, 20, "ice", 1, 1); | ||
// public static Weapon hurricane = new Melee(7, 20, "air", 1, 1); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters