fate.world
Class Planetoid
java.lang.Object
|
+--fate.world.WorldObject
|
+--fate.world.OrbitingBody
|
+--fate.world.Planetoid
- public class Planetoid
- extends OrbitingBody
- implements java.lang.Cloneable, java.io.Serializable
Represents a planet, asteroid, or any other fixed object orbiting
in a SolarSystem.
- See Also:
- Serialized Form
|
Constructor Summary |
Planetoid()
Creates new Planetoid |
Planetoid(java.lang.String name,
int distance,
double position,
double velocity)
Creates new Planetoid with default starting values |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
mapOrbiting
public MapWorldObject mapOrbiting
- Map of all orbiting objects
mapGround
public MapWorldObject mapGround
- Map of all ground objects
Planetoid
public Planetoid(java.lang.String name,
int distance,
double position,
double velocity)
- Creates new Planetoid with default starting values
Planetoid
public Planetoid()
- Creates new Planetoid
cloneForClient
public Planetoid cloneForClient()
- Creates a clone suitable for sending from server to client