/** * Set the current state of the light * * @param value True if lighted */ public void set(boolean value) { payload.set(value); }
@Override public Payload clone() { CarLanternPayload c = new CarLanternPayload(direction); c.copyFrom(this); return c; }