These are the guidelines for contribution to QME source code.
- Do not put opening braces on their own line.
- Put spaces between
if
,for
,while
, and the following(
. - Add Javadoc for every class, enum, function, and top-level variable.
- For classes, put the author and release it was made before.
- For functions, put all parameters, thrown exceptions, and the return type.
- Log significant things that happen.
- If class
B
extends classA
, the name ofA
needs to begin with classA
usually.- Like
ButtonNonClickable
, but of courseUICompoentButton
is redundant.
- Like
- Make top-level variables
private
andfinal
where possible.- Simple things like
Tile.x
orCoordinate.y
are exempt from this.
- Simple things like
- Make a pull request. Describe in the comments all issues that this closes.
- Get 1-3 reviews from programmers, then notify Adam to get it merged.