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.
- Loading branch information
Showing
1 changed file
with
82 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
package MoveClasses; | ||
|
||
import java.util.ArrayList; | ||
|
||
import edu.ycp.cs320.fokemon.PokeType; | ||
|
||
public class Move { | ||
private int curPP; | ||
private int maxPP; | ||
private ArrayList<Effect> effect; | ||
private int accuracy; | ||
private MoveName moveName; | ||
private int damage; | ||
private PokeType pokeType; | ||
|
||
public Move(int curPP, int maxPP, ArrayList<Effect> effect, int accuracy, MoveName moveName, int damage, PokeType pokeType) { | ||
this.curPP = curPP; | ||
this.maxPP = maxPP; | ||
this.effect = effect; | ||
this.accuracy = accuracy; | ||
this.moveName = moveName; | ||
this.damage = damage; | ||
this.pokeType = pokeType; | ||
} | ||
|
||
public int getCurPP() { | ||
return curPP; | ||
} | ||
|
||
public void setCurPP(int curPP) { | ||
this.curPP = curPP; | ||
} | ||
|
||
public int getMaxPP() { | ||
return maxPP; | ||
} | ||
|
||
public void setMaxPP(int maxPP) { | ||
this.maxPP = maxPP; | ||
} | ||
|
||
public ArrayList<Effect> getEffect() { | ||
return effect; | ||
} | ||
|
||
public void setEffect(ArrayList<Effect> effect) { | ||
this.effect = effect; | ||
} | ||
|
||
public int getAccuracy() { | ||
return accuracy; | ||
} | ||
|
||
public void setAccuracy(int accuracy) { | ||
this.accuracy = accuracy; | ||
} | ||
|
||
public MoveName getMoveName() { | ||
return moveName; | ||
} | ||
|
||
public void setMoveName(MoveName moveName) { | ||
this.moveName = moveName; | ||
} | ||
|
||
public int getDamage() { | ||
return damage; | ||
} | ||
|
||
public void setDamage(int damage) { | ||
this.damage = damage; | ||
} | ||
|
||
public PokeType getPokeType() { | ||
return pokeType; | ||
} | ||
|
||
public void setPokeType(PokeType pokeType) { | ||
this.pokeType = pokeType; | ||
} | ||
} | ||
|