mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-01 14:38:55 +00:00
Added war points to War
This commit is contained in:
1 parent
a6a65d8476
commit
80cae9b5b7
1 file changed
+18
@@ -20,6 +20,8 @@ public class War {
|
||||
private ArrayList<String> side1Towns = new ArrayList<String>();
|
||||
private ArrayList<String> side2Towns = new ArrayList<String>();
|
||||
private ArrayList<String> surrenderedTowns = new ArrayList<String>();
|
||||
private int side1Points = 0;
|
||||
private int side2Points = 0;
|
||||
|
||||
// References
|
||||
private ArrayList<Siege> sieges = new ArrayList<Siege>();
|
||||
@@ -264,4 +266,20 @@ public class War {
|
||||
public int getLastRaidTimeSide2() {
|
||||
return this.lastRaidTimeSide2;
|
||||
}
|
||||
|
||||
public int getSide1Points() {
|
||||
return this.side1Points;
|
||||
}
|
||||
|
||||
public int getSide2Points() {
|
||||
return this.side2Points;
|
||||
}
|
||||
|
||||
public void addSide1Points(int points) {
|
||||
side1Points += points;
|
||||
}
|
||||
|
||||
public void addSide2Points(int points){
|
||||
side2Points += points;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user