org.nlogo.api
Interface Observer

All Superinterfaces:
Agent
All Known Implementing Classes:
Observer, Observer3D

public interface Observer
extends Agent

Interface provides access to NetLogo observer.


Method Summary
 double dist()
           
 double dx()
           
 double dy()
           
 double dz()
           
 int followDistance()
          Returns the current distance behind the followed turtle the 3D view is displaying
 double heading()
           
 double oxcor()
           
 double oycor()
           
 double ozcor()
           
 Perspective perspective()
          Returns the current perspective
 double pitch()
           
 double roll()
           
 void setPerspective(Perspective p, Agent a)
           
 Agent targetAgent()
          Returns the currently watched or followed agent (or nobody)
 
Methods inherited from interface org.nlogo.api.Agent
classDisplayName, getVariable, id, setVariable, shape, size, world
 

Method Detail

targetAgent

Agent targetAgent()
Returns the currently watched or followed agent (or nobody)


perspective

Perspective perspective()
Returns the current perspective


followDistance

int followDistance()
Returns the current distance behind the followed turtle the 3D view is displaying


dist

double dist()

heading

double heading()

pitch

double pitch()

roll

double roll()

setPerspective

void setPerspective(Perspective p,
                    Agent a)

oxcor

double oxcor()

oycor

double oycor()

ozcor

double ozcor()

dx

double dx()

dy

double dy()

dz

double dz()