Because it's in the Skills class
|
what is the getxp method in player.java? I don't seem to have it.
better example:
player.getSkills().getxp <-- To wear an item.
Because it's in the Skills class
The .getSkills() method refers to payers skill class which has a method called getXp(skill) which returns the xp that that player has in the parameter skill. I highly recommend using eclipse IDE which tells you all the stuff like this.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |