View Javadoc

1   // %3284418725:hoplugins.trainingExperience.vo%
2   package hoplugins.trainingExperience.vo;
3   
4   import plugins.ISkillup;
5   import plugins.ISpieler;
6   
7   
8   /***
9    * This value object represent a change in skill for a player.
10   *
11   * @author NetHyperon
12   */
13  public class SkillChange {
14      //~ Instance fields ----------------------------------------------------------------------------
15  
16      private ISkillup skillup;
17      private ISpieler player;
18  
19      //~ Constructors -------------------------------------------------------------------------------
20  
21      /***
22       * Creates a new SkillChange object.
23       *
24       * @param player Player
25       * @param skillup Skillup
26       */
27      public SkillChange(ISpieler player, ISkillup skillup) {
28          this.player = player;
29          this.skillup = skillup;
30      }
31  
32      //~ Methods ------------------------------------------------------------------------------------
33  
34      /***
35       * Get the player
36       *
37       * @return Player
38       */
39      public ISpieler getPlayer() {
40          return player;
41      }
42  
43      /***
44       * Get the skillup
45       *
46       * @return Skillup
47       */
48      public ISkillup getSkillup() {
49          return skillup;
50      }
51  }