-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deleted rangetask, just doing it in one task. created basic start fun…
…ction
- Loading branch information
1 parent
394c4cb
commit e08fd81
Showing
4 changed files
with
63 additions
and
11 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
4 changes: 0 additions & 4 deletions
4
source/core/src/main/com/csse3200/game/components/tasks/MobTask/MobRangedTask.java
This file was deleted.
Oops, something went wrong.
21 changes: 15 additions & 6 deletions
21
source/core/src/main/com/csse3200/game/components/tasks/MobTask/MobType.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,10 +1,19 @@ | ||
package com.csse3200.game.components.tasks.MobTask; | ||
|
||
public enum MobType { | ||
SKELETON, | ||
WIZARD, | ||
WATER_QUEEN, | ||
WATER_SLIME, | ||
FIRE_WORM, | ||
DRAGON_KNIGHT | ||
SKELETON(true), | ||
WIZARD(false), | ||
WATER_QUEEN(false), | ||
WATER_SLIME(true), | ||
FIRE_WORM(false), | ||
DRAGON_KNIGHT(true); | ||
private boolean isMelee; | ||
|
||
MobType(boolean melee) { | ||
this.isMelee = melee; | ||
} | ||
|
||
public boolean isMelee() { | ||
return isMelee; | ||
} | ||
} |
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