Package com.fs.starfarer.api.campaign
Interface OrbitAPI
public interface OrbitAPI
- Author:
- Alex Mosolov Copyright 2012 Fractal Softworks, LLC
-
Method Summary
Modifier and TypeMethodDescriptionvoid
advance
(float amount) org.lwjgl.util.vector.Vector2f
getFocus()
float
makeCopy()
void
setEntity
(SectorEntityToken entity) void
-
Method Details
-
getFocus
SectorEntityToken getFocus() -
advance
void advance(float amount) -
setEntity
- Parameters:
entity
- entity that's doing the orbiting.
-
makeCopy
OrbitAPI makeCopy() -
computeCurrentLocation
org.lwjgl.util.vector.Vector2f computeCurrentLocation() -
getOrbitalPeriod
float getOrbitalPeriod() -
updateLocation
void updateLocation()
-