public interface OrbitAPI
Modifier and Type | Method and Description |
---|---|
void |
advance(float amount) |
Vector2f |
computeCurrentLocation() |
SectorEntityToken |
getFocus() |
float |
getOrbitalPeriod() |
OrbitAPI |
makeCopy() |
void |
setEntity(SectorEntityToken entity) |
void |
updateLocation() |
SectorEntityToken getFocus()
void advance(float amount)
void setEntity(SectorEntityToken entity)
entity
- entity that's doing the orbiting.OrbitAPI makeCopy()
Vector2f computeCurrentLocation()
float getOrbitalPeriod()
void updateLocation()
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.