Fixed name of StockAsset and inserted Sockasset to example

This commit is contained in:
7u83 2020-10-23 10:02:30 +02:00
parent 2e1a53789f
commit 8279033d74
2 changed files with 4 additions and 4 deletions

View File

@ -2,9 +2,9 @@
"version": 0.2,
"assets": [
{
"type": "opensesim.sesim.assets.FurtureAsset",
"type": "opensesim.sesim.assets.StockAsset",
"symbol": "MSFT",
"name": "Hello"
"name": "Microsoft"
}
]
}

View File

@ -34,9 +34,9 @@ import org.json.JSONObject;
*
* @author 7u83 <7u83@mail.ru>
*/
public class StockAssett extends AbstractAsset{
public class StockAsset extends AbstractAsset{
public StockAssett(GodWorld world, JSONObject cfg) {
public StockAsset(GodWorld world, JSONObject cfg) {
super(world, cfg);
}