new scheduler still not working

This commit is contained in:
7u83
2018-12-20 09:42:07 +01:00
committed by 7u83
parent 2cf4780909
commit e77f832045
3 changed files with 21 additions and 10 deletions

View File

@ -87,7 +87,7 @@ public class SimpleTrader extends AbstractTrader implements EventListener{
@Override
public long receive(Event task) {
System.out.printf("Here we are !!! %f\n", getWorld().randNextFloat(12f, 27f));
// getWorld().schedule(this, 100);
getWorld().schedule(this, 5000);
return -1;
}