Trader creator using JSON

This commit is contained in:
2018-12-12 19:58:10 +01:00
parent 4011aa4846
commit 9008eed00b
6 changed files with 31 additions and 12 deletions

View File

@ -27,6 +27,7 @@ package opensesim.trader;
import opensesim.world.AbstractTrader;
import opensesim.world.World;
import org.json.JSONObject;
/**
*
@ -40,12 +41,12 @@ public class SimpleTrader extends AbstractTrader{
}
SimpleTrader(World world){
super(world);
SimpleTrader(World world, JSONObject cfg){
super(world,cfg);
}
SimpleTrader(){
this(null);
this(null,null);
}