Content
value — LAWFUL GOOD — value; LAWFUL NEUTRAL if (value I Integer. NIN VALUE) value LAWFULLVIL value – 1; NECTRAL GOOD value value – 1; TRUE NEUTRAL int valueCopy value; do value – ) while (value I valueCopy-1); NEUTRALLVIL CHAOTIC GOOD class Operations ( private Operations) private int decrement (int value) return value – 1; Operations op new Operations); value op. decrement (value): CHAOTIC NEUTRAL class Operations ( private Operations 0 0 private int decresent (ant initial, int curr) 4 if (initial – 1 curr) retum curri retum decresent (initial, -curr); Operations op nev Operations); value op.decreent (value, value); CHAOTICEVIT