001package com.fs.starfarer.api.campaign;
002
003import org.lwjgl.util.vector.Vector2f;
004
005/**
006 * @author Alex Mosolov
007 *
008 * Copyright 2012 Fractal Softworks, LLC
009 */
010public interface OrbitAPI {
011        SectorEntityToken getFocus();
012        void advance(float amount);
013        
014        /**
015         * @param entity entity that's doing the orbiting.
016         */
017        void setEntity(SectorEntityToken entity);
018        
019        
020        OrbitAPI makeCopy();
021        Vector2f computeCurrentLocation();
022        float getOrbitalPeriod();
023        void updateLocation();
024
025}