- To
civl/config/IF/CIVLConstants.java:- Add
public static Stringvariable containing name of option - Add
public final static Optionvariable for option usingStringvar from above for name, plus a short description and default value - Add new
Optionto thegetAllOptions()function
- Add
- To
civl/config/IF/CIVLConfiguration:- Add variable for storing value of option
- Set value in constructor using config parameter passed in
- Set value in copy constructor
- Add getter and setter of option
- To
CIVL/grammar/Command.g4:- Add option to the grammar
- To
run/common/CIVLCommand:- Add the new
OptionfromCIVLConstantsinto the appropriate lists of options for each CIVL command the option is applicable to. For instance if your option is for the CIVLshowcommand, then add it to theCIVLCommand.addShowOption(...)list.
- Add the new
Last modified
3 years ago
Last modified on 08/18/23 11:30:38
Note:
See TracWiki
for help on using the wiki.
