package sample;

import comlib.adk.team.tactics.PoliceForceTactics;
import comlib.adk.util.action.PoliceAction;
import comlib.manager.MessageManager;
import comlib.message.DummyMessage;
import rescuecore2.messages.Message;
import rescuecore2.worldmodel.ChangeSet;

public class SamplePolice extends PoliceForceTactics {

    @Override
    public void preparation() {

    }

    @Override
    public void registerEvent(MessageManager manager) {

    }

    @Override
    public Message think(int time, ChangeSet changed, MessageManager manager) {
        manager.addSendMessage(new DummyMessage(time, 10, 0));
        return PoliceAction.rest(this, time);
    }
}

@@ -292,34 +292,38 @@
 extends 
-PoliceForceTactics
+extends StraightPolice
  %7B%0A%0A    
@@ -347,205 +347,161 @@
 lic 
-void preparation
+BlockadeSelector getBlockadeSelector
 () %7B%0A
-%0A
     
-%7D%0A%0A
     
-@Override%0A    public void registerEvent(MessageManager manager) %7B%0A%0A    %7D%0A%0A    @Override%0A    public Message think(int time, ChangeSet changed, MessageManager manag
+return new SampleBlockadeSelector(this);%0A    %7D%0A%0A    @Override%0A    public RouteSearcher getRouteSearch
 er
+(
 ) %7B%0A
@@ -512,108 +512,122 @@
     
-manager.addSendMessage(new DummyMessage(time, 10, 0)
+return new SampleRouteSearcher(this
 );%0A    
+%7D%0A%0A
     
-return PoliceAction.rest(this, time);
+@Override%0A    public void registerEvent(MessageManager manager) %7B
 %0A   

update ADK