forked from MagicBane/Server
Project cleanup pre merge.
This commit is contained in:
@@ -15,44 +15,45 @@ import java.sql.SQLException;
|
||||
|
||||
public class MenuOption extends AbstractGameObject {
|
||||
|
||||
private final int menuID;
|
||||
private final String message;
|
||||
private final int optionID;
|
||||
private final int prereq;
|
||||
private final int menuID;
|
||||
private final String message;
|
||||
private final int optionID;
|
||||
private final int prereq;
|
||||
|
||||
/**
|
||||
* ResultSet Constructor
|
||||
*/
|
||||
public MenuOption(ResultSet rs) throws SQLException {
|
||||
super(rs);
|
||||
this.menuID = rs.getInt("menuID");
|
||||
this.message = rs.getString("message");
|
||||
this.optionID = rs.getInt("optionID");
|
||||
this.prereq = rs.getInt("prereq");
|
||||
}
|
||||
/**
|
||||
* ResultSet Constructor
|
||||
*/
|
||||
public MenuOption(ResultSet rs) throws SQLException {
|
||||
super(rs);
|
||||
this.menuID = rs.getInt("menuID");
|
||||
this.message = rs.getString("message");
|
||||
this.optionID = rs.getInt("optionID");
|
||||
this.prereq = rs.getInt("prereq");
|
||||
}
|
||||
|
||||
/*
|
||||
* Getters
|
||||
*/
|
||||
public int getMenuID() {
|
||||
return this.menuID;
|
||||
}
|
||||
/*
|
||||
* Getters
|
||||
*/
|
||||
public int getMenuID() {
|
||||
return this.menuID;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
|
||||
public int getOptionID() {
|
||||
return this.optionID;
|
||||
}
|
||||
public int getOptionID() {
|
||||
return this.optionID;
|
||||
}
|
||||
|
||||
public int getPrereq() {
|
||||
return this.prereq;
|
||||
}
|
||||
public int getPrereq() {
|
||||
return this.prereq;
|
||||
}
|
||||
|
||||
/*
|
||||
* Database
|
||||
*/
|
||||
@Override
|
||||
public void updateDatabase() {}
|
||||
/*
|
||||
* Database
|
||||
*/
|
||||
@Override
|
||||
public void updateDatabase() {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user