Skip to content

Commit

Permalink
Made a move class for moves
Browse files Browse the repository at this point in the history
  • Loading branch information
dhill3 committed Feb 19, 2013
1 parent e6f36ec commit cf640c8
Showing 1 changed file with 82 additions and 0 deletions.
82 changes: 82 additions & 0 deletions SoftwareEngineeringProject/src/MoveClasses/Move.java
@@ -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;
}
}

0 comments on commit cf640c8

Please sign in to comment.