001/** 002 * 003 */ 004package com.fs.starfarer.api.impl.campaign.terrain; 005 006import com.fs.starfarer.api.campaign.SectorEntityToken; 007 008public interface AsteroidSource { 009 /** 010 * Report that the game engine decided to persist the given asteroid, 011 * meaning it doesn't need to be re-generated on game load etc. 012 * @param asteroid 013 */ 014 void reportAsteroidPersisted(SectorEntityToken asteroid); 015 016 017 /** 018 * Called after game load to regenerate asteroids that haven't been persisted. 019 */ 020 void regenerateAsteroids(); 021}