public void act()  
    {
        if(getTruckState()){
            moveTruck();    
        }
        spawnContainer();    
        if(isAtEdge())
        {
            getWorld().removeObject(this);
        }

    }