Added some java doc

This commit is contained in:
7u83 2019-01-01 14:48:46 +01:00
parent a1c1196ba1
commit 3f43ff6f29
1 changed files with 10 additions and 1 deletions

View File

@ -30,13 +30,22 @@ import java.util.Collection;
import opensesim.util.scheduler.EventListener;
/**
*
* The interface to the world. Used by traders. And others.
* @author 7u83 <7u83@mail.ru>
*/
public interface World {
/**
* Get available assets in this world.
* @return Collection of {@link opensesim.world.Asset}s
*/
public Collection<AbstractAsset> getAssetCollection();
/**
* Return asset by symbol
* @param symbol symbol to find
* @return asset
*/
public AbstractAsset getAssetBySymbol(String symbol);
Collection<Exchange> getExchangeCollection();