diff --git a/src/opensesim/world/World.java b/src/opensesim/world/World.java index e0b6a2d..fb9414e 100644 --- a/src/opensesim/world/World.java +++ b/src/opensesim/world/World.java @@ -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 getAssetCollection(); + /** + * Return asset by symbol + * @param symbol symbol to find + * @return asset + */ public AbstractAsset getAssetBySymbol(String symbol); Collection getExchangeCollection();