From 27e30ce29a14ff09a4a7ddcb1f35f0a2626771e8 Mon Sep 17 00:00:00 2001 From: asofold Date: Thu, 28 Jan 2016 10:26:32 +0100 Subject: [PATCH] Javadocs/comments. --- .../nocheatplus/checks/workaround/WRPT.java | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/workaround/WRPT.java b/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/workaround/WRPT.java index de92485a..12a7f5cb 100644 --- a/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/workaround/WRPT.java +++ b/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/workaround/WRPT.java @@ -22,21 +22,24 @@ public class WRPT extends SimpleWorkaroundRegistry { // MOVING_SURVIVALFLY // TODO: The use once thing could be shared by several spots (e.g. all double-0 top of slope). - /** One time use max of jump phase twice zero dist. */ + /** Workaround: One time use max of jump phase twice zero dist. */ + // TODO: This might be changed to (or extended with addition of) use once within air jump phase. public static final String W_M_SF_SLIME_JP_2X0 = "m.sf.slime.jp.2x0"; // hum. sha-1 instead? /////////////////////// // Group ids. /////////////////////// - + // MOVING_SURVIVALFLY + /** Group: Reset when not in air jump phase. */ public static final String G_RESET_NOTINAIR = "reset.notinair"; /////////////////////// // WorkaroundSet ids. /////////////////////// - + // MOVING + /** WorkaroundSet: for use in MovingData. */ public static final String WS_MOVING = "moving"; public WRPT() { @@ -52,10 +55,10 @@ public class WRPT extends SimpleWorkaroundRegistry { ws_moving.addAll(Arrays.asList(resetNotInAir)); setWorkaroundBluePrint(resetNotInAir); setGroup(G_RESET_NOTINAIR, resetNotInAir); - + // Finally register the set. setWorkaroundSetByIds(WS_MOVING, getCheckedIdSet(ws_moving), G_RESET_NOTINAIR); - + // TODO: just counters // TODO: Command to log.