343344345346347348349350
} @Override public Object getBreedVariable(String name) throws AgentException { throw new AgentException ("a link can't access a turtle variable without specifying which turtle"); }
358359360361362363364365
} @Override public Object getPatchVariable(int vn) throws AgentException { throw new AgentException ("a link can't access a patch variable without specifying which patch"); }
365366367368369370371372
} @Override public void setTurtleVariable(int vn, Object value) throws AgentException { throw new AgentException ("a link can't set a turtle variable without specifying which turtle"); }
372373374375376377378379
} @Override public void setTurtleVariable(int vn, double value) throws AgentException { throw new AgentException ("a link can't set a turtle variable without specifying which turtle"); }
379380381382383384385386
} @Override public void setBreedVariable(String name, Object value) throws AgentException { throw new AgentException ("a link can't set a turtle variable without specifying which turtle"); }
385386387388389390391392
("a link can't set a turtle variable without specifying which turtle"); } public void setBreedVariable(int vn, double value) throws AgentException { throw new AgentException ("a link can't set a turtle variable without specifying which turtle"); }
400401402403404405406407
} @Override public void setPatchVariable(int vn, Object value) throws AgentException { throw new AgentException ("a link can't set a patch variable without specifying which turtle"); }
407408409410411412413414
} @Override public void setPatchVariable(int vn, double value) throws AgentException { throw new AgentException ("a link can't set a patch variable without specifying which turtle"); }
414415416417418419420421422
} void mustOwn(String name) throws AgentException { if (name != null && !world.linkBreedOwns(getBreed(), name)) { throw new AgentException( I18N.errorsJ().getN("org.nlogo.agent.Agent.breedDoesNotOwnVariable",getBreed().printName(), name)); } }
544545546547548549550551
} @Override public Patch getPatchAtOffsets(double dx, double dy) throws AgentException { throw new AgentException ("links can't access patches via relative coordinates"); }