this is my result but i get an error 'this is not an statement' at 'timeDelay == 0; '


public void act()
{
if (getObjects(Schip.class).isEmpty())
{
...