| 34 | } |
| 35 | |
| 36 | void CelestialOrbit::read(DataStream& ds) { |
| 37 | target = ds.read<CelestialCoordinate>(); |
| 38 | direction = ds.read<int>(); |
| 39 | enterTime = ds.read<double>(); |
| 40 | enterPosition = ds.read<Vec2F>(); |
| 41 | } |
| 42 | |
| 43 | bool CelestialOrbit::operator==(CelestialOrbit const& rhs) const { |
| 44 | return target == rhs.target |