View Javadoc

1   // %1126721452166:hoplugins.trainingExperience.vo%
2   package hoplugins.trainingExperience.vo;
3   
4   /***
5    * This value object represents the skill values for a player at some point.
6    *
7    * @author NetHyperon
8    */
9   public class PlayerValues {
10      //~ Instance fields ----------------------------------------------------------------------------
11  
12      private int form;
13      private int playerID;
14      private int tsi;
15  
16      //~ Constructors -------------------------------------------------------------------------------
17  
18      /***
19       * Creates a new PlayerValues object.
20       *
21       * @param tsi Value for Total Skill Index
22       * @param form Value for player form
23       */
24      public PlayerValues(int tsi, int form) {
25          this.tsi = tsi;
26          this.form = form;
27      }
28  
29      //~ Methods ------------------------------------------------------------------------------------
30  
31      /***
32       * Get the form value
33       *
34       * @return Form value
35       */
36      public int getForm() {
37          return form;
38      }
39  
40      /***
41       * Get the player ID
42       *
43       * @return id
44       */
45      public int getPlayerID() {
46          return playerID;
47      }
48  
49      /***
50       * Get the TSI value
51       *
52       * @return TSI value
53       */
54      public int getTsi() {
55          return tsi;
56      }
57  }