SE450: CarShape and HouseShape Classes [27/65] Previous pageContentsNext page

public class CarShape implements SceneShape 
{
...
public void setSelected(boolean b) { selected = b; }
public boolean isSelected() { return selected; }
private boolean selected;
}

public class HouseShape implements SceneShape
{
...
public void setSelected(boolean b) { selected = b; }
public boolean isSelected() { return selected; }
private boolean selected;
}

Previous pageContentsNext page