59 |
structure (i.e., is already inside some other cell), it is |
structure (i.e., is already inside some other cell), it is |
60 |
cloned and the clone is put instead. |
cloned and the clone is put instead. |
61 |
|
|
62 |
To encapsulate this properly, let's have an additional method |
These won't be turned on by default: ``p``/``P`` will only be usable |
63 |
|
when calling the client with the ``--use-containment-keys`` parameter. |
64 |
|
When using ``make`` to run the client, set the ``CONTAINMENT`` |
65 |
|
environment variable to ``on``:: |
66 |
|
|
67 |
|
make run CONTAINMENT=on |
68 |
|
|
69 |
|
To encapsulate the bindings properly, let's have an additional method |
70 |
in ``Containment``:: |
in ``Containment``:: |
71 |
|
|
72 |
public static void addContainedCell(Cell add, Cell into) |
public static void addContainedCell(Cell add, Cell into) |