 

import org.w2mind.net.*;
import org.w2mind.tyrrell.*;




public class MindM implements Mind 
{
	 
// the other Mind I will be calling:

 public String MIND_SERVER = "som://mbio-server.computing.dcu.ie";
 public String MIND_NAME   = "mh2";


// tell it where the World is (needed for fast runs):

 public String WORLD_SERVER = "som://mbio-server.computing.dcu.ie";
 public String WORLD_NAME   = "w2m.TyrrellWorld";



 public RemoteMind rm = new RemoteMind ( MIND_SERVER, MIND_NAME, WORLD_SERVER, WORLD_NAME );



 public void newrun()    throws RunError 
 {
	rm.newrun();
 }


 public void endrun()  throws RunError 
 {
	rm.endrun();
 }

	
 public  Action getaction ( State s )   	throws RunError  
 {
	return ( rm.getaction(s) );
 }	

}



 

 