Make the struct attribute private, and export two new methods. A getter, active_color(), and a setter, set_active_color(). Update all references to the attribute to use the methods. |
||
|---|---|---|
| .. | ||
| generators | ||
| builder.rs | ||
| defs.rs | ||
| generators.rs | ||
| lib.rs | ||
| make_move.rs | ||
| moves.rs | ||
| record.rs | ||
| testing.rs | ||
| unmake_move.rs | ||