forked from maloney626/SoftwareEngineeringProject
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'jmaloney/master'
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
SoftwareEngineeringProject/src/MoveClasses/MoveDataBase.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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package MoveClasses; | ||
|
||
import java.util.ArrayList; | ||
|
||
import edu.ycp.cs320.fokemon.Pokemon; | ||
import edu.ycp.cs320.fokemon.Status; | ||
|
||
public class MoveDataBase { | ||
static ArrayList <Effect> effect; | ||
|
||
|
||
public static void createMove(MoveName moveName){ | ||
effect.clear(); | ||
|
||
|
||
switch (moveName) { | ||
case Tackle: | ||
break; | ||
default: //no effect | ||
break; | ||
} | ||
|
||
|
||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package MoveClasses; | ||
|
||
public enum MoveName { | ||
Tackle, | ||
Bite, | ||
Ember, | ||
Recover, | ||
Spore, | ||
Blizzard, | ||
Acid, | ||
Thunder_Wave; | ||
} |