/Users/16671/Desktop/IA Computer Science/IA - Winner/src/ia/winner/Player.java |
1
2
3
4
5
6 package ia.winner;
7
8 import java.util.ArrayList;
9 import java.util.Scanner;
10
11
12
13 @author
14
15 public class Player extends MainGUI {
16 private String userName = "not set yet";
17 private String password = "not set yet";
18 private ArrayList<LiftingLogs> liftingList = new ArrayList<LiftingLogs>();
19 private ArrayList<CardioLogs> cardioList = new ArrayList<CardioLogs>();
20
21
22 public Player(){
23
24 }
25
26 public Player(String userName, String password){
27 this.userName = userName;
28 this.password = password;
29 this.liftingList = liftingList;
30 this.cardioList = cardioList;
31 }
32
33
34
35
36
37 public String getUserName(){
38 return userName;
39 }
40
41 public String getPassword(){
42 return password;
43 }
44
45 public ArrayList<LiftingLogs> getLiftingLogs(){
46 return liftingList;
47 }
48
49 public ArrayList<CardioLogs> getCardioLogs(){
50 return cardioList;
51 }
52
53 public void setUserName(String userName){
54 this.userName = userName;
55 }
56
57 public void setPassword(String password){
58 this.password = password;
59 }
60
61 public void setLiftingList(ArrayList<LiftingLogs> liftingList){
62 this.liftingList = liftingList;
63 }
64
65 public void setCardioList(ArrayList<CardioLogs> cardioList){
66 this.cardioList = cardioList;
67 }
68
69
70 }
71
72