@@ -0,0 +1,1083 @@
+public class Cube%0A%7B%0A    public Cube (ThreeDPoint coord)%0A    %7B%0A        this(coord, false);%0A    %7D%0A%0A    public Cube (ThreeDPoint coord, boolean active)%0A    %7B%0A        _coord = coord;%0A        _active = active;%0A    %7D%0A%0A    public boolean isActive ()%0A    %7B%0A        return _active;%0A    %7D%0A%0A    public void activate ()%0A    %7B%0A        _active = true;%0A    %7D%0A%0A    public void deactivate ()%0A    %7B%0A        _active = false;%0A    %7D%0A%0A    @Override%0A    public String toString ()%0A    %7B%0A        return %22Cube: %22+((_active ? %22active%22: %22inactive%22))+%22 at %22+_coord;%0A    %7D%0A%0A    @Override%0A    public boolean equals (Object obj)  // don't compare activation status%0A    %7B%0A        if (obj == null)%0A            return false;%0A%0A        if (this == obj)%0A            return true;%0A        %0A        if (getClass() == obj.getClass())%0A        %7B%0A            Cube temp = (Cube) obj;%0A%0A            return ((_coord.getX() == temp._coord.getX()) && (_coord.getY() == temp._coord.getY()) && (_coord.getZ() == temp._coord.getZ()));%0A        %7D%0A%0A        return false;%0A    %7D%0A%0A    private ThreeDPoint _coord;%0A    private boolean _active;%0A%7D

Create Cube.java