2011-05-13 04:24:42 -04:00
|
|
|
package org.moparscape.msc.gs.external;
|
2011-04-27 01:44:26 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Defines an agility course
|
|
|
|
*/
|
|
|
|
public class AgilityCourseDef {
|
2011-06-25 01:44:53 -04:00
|
|
|
/**
|
|
|
|
* Ending object ID
|
|
|
|
*/
|
|
|
|
public int endID;
|
|
|
|
/**
|
|
|
|
* Ending object x
|
|
|
|
*/
|
|
|
|
public int endX;
|
|
|
|
/**
|
|
|
|
* Ending object y
|
|
|
|
*/
|
|
|
|
public int endY;
|
|
|
|
/**
|
|
|
|
* The exp reward for completing this course
|
|
|
|
*/
|
|
|
|
public int exp;
|
|
|
|
/**
|
|
|
|
* This course's name
|
|
|
|
*/
|
|
|
|
public String name;
|
|
|
|
/**
|
|
|
|
* Starting object x
|
|
|
|
*/
|
|
|
|
public int startX;
|
|
|
|
/**
|
|
|
|
* Starting object y
|
|
|
|
*/
|
|
|
|
public int startY;
|
2011-04-27 01:44:26 -04:00
|
|
|
|
2011-06-25 01:44:53 -04:00
|
|
|
/**
|
|
|
|
* @return the end ID
|
|
|
|
*/
|
|
|
|
public int getEndID() {
|
|
|
|
return endID;
|
|
|
|
}
|
2011-04-27 01:44:26 -04:00
|
|
|
|
2011-06-25 01:44:53 -04:00
|
|
|
/**
|
|
|
|
* @return the end x
|
|
|
|
*/
|
|
|
|
public int getEndX() {
|
|
|
|
return endX;
|
|
|
|
}
|
2011-04-27 01:44:26 -04:00
|
|
|
|
2011-06-25 01:44:53 -04:00
|
|
|
/**
|
|
|
|
* @return the end y
|
|
|
|
*/
|
|
|
|
public int getEndY() {
|
|
|
|
return endY;
|
|
|
|
}
|
2011-04-27 01:44:26 -04:00
|
|
|
|
2011-06-25 01:44:53 -04:00
|
|
|
/**
|
|
|
|
* @return the exp reward
|
|
|
|
*/
|
|
|
|
public int getExp() {
|
|
|
|
return exp;
|
|
|
|
}
|
2011-04-27 01:44:26 -04:00
|
|
|
|
2011-06-25 01:44:53 -04:00
|
|
|
/**
|
|
|
|
* @return this course's name
|
|
|
|
*/
|
|
|
|
public String getName() {
|
|
|
|
return name;
|
|
|
|
}
|
2011-04-27 01:44:26 -04:00
|
|
|
|
2011-06-25 01:44:53 -04:00
|
|
|
/**
|
|
|
|
* @return the starting object x
|
|
|
|
*/
|
|
|
|
public int getStartX() {
|
|
|
|
return startX;
|
|
|
|
}
|
2011-04-27 01:44:26 -04:00
|
|
|
|
2011-06-25 01:44:53 -04:00
|
|
|
/**
|
|
|
|
* @return the starting object y
|
|
|
|
*/
|
|
|
|
public int getStartY() {
|
|
|
|
return startY;
|
|
|
|
}
|
2011-04-27 01:44:26 -04:00
|
|
|
}
|