diff --git a/src/java/com/threerings/crowd/data/TokenRing.java b/src/java/com/threerings/crowd/data/TokenRing.java index 5d62ac8d1..2bcf07111 100644 --- a/src/java/com/threerings/crowd/data/TokenRing.java +++ b/src/java/com/threerings/crowd/data/TokenRing.java @@ -73,6 +73,18 @@ public class TokenRing extends SimpleStreamableObject return _tokens; } + /** + * Set the specified token to be on or off. + */ + public void setToken (int token, boolean on) + { + if (on) { + setToken(token); + } else { + clearToken(token); + } + } + /** * Adds the specified token to this ring. */