public abstract class BasePlanetObject extends Object
Modifier and Type | Field and Description |
---|---|
protected PlanetModel |
planetModel
This is the planet model embedded in all objects derived from this
class.
|
Constructor and Description |
---|
BasePlanetObject(PlanetModel planetModel)
Constructor creating class instance given a planet model.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
PlanetModel |
getPlanetModel()
Returns the
PlanetModel provided when this shape was created. |
int |
hashCode() |
protected final PlanetModel planetModel
public BasePlanetObject(PlanetModel planetModel)
planetModel
- is the planet model.public PlanetModel getPlanetModel()
PlanetModel
provided when this shape was created.Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.