A B C D E F G H I J L M N O P R S T V W X Y

A

ACTIONS - Static variable in class warbot.kernel.BasicBody
 
AUTHOR - Static variable in class warbot.kernel.WarbotScheduler
 
Ant - class warbot.demo.Ant.
 
Ant() - Constructor for class warbot.demo.Ant
 
action - Variable in class warbot.kernel.Entity
 
actionIn - Variable in class warbot.kernel.Entity
 
activate() - Method in class warbot.demo.Ant
 
activate() - Method in class warbot.demo.HomeKiller
 
activate() - Method in class warbot.demo.RastaRocket
 
activate() - Method in class warbot.kernel.JessBrain
 
activate() - Method in class warbot.kernel.PythonBrain
 
activate() - Method in class warbot.kernel.WarbotEnvironment
 
activate() - Method in class warbot.kernel.WarbotScheduler
 
activate() - Method in class warbot.kernel.WarbotStructure
 
addInArrow(SArrow) - Method in class warbot.kernel.Entity
 
addNode(SNode) - Method in class warbot.kernel.WarbotStructure
 
addNode(SNode, String) - Method in class warbot.kernel.WarbotStructure
 
addOutArrow(SArrow) - Method in class warbot.kernel.Entity
 

B

BAG_CAPACITY - Static variable in class warbot.kernel.BasicBody
 
BUILD_ROCKET - Static variable in class warbot.kernel.RocketLauncher
 
BasicBody - class warbot.kernel.BasicBody.
The abstract body class.
Brain - class warbot.kernel.Brain.
The main super class of robot developpers.
Brain() - Constructor for class warbot.kernel.Brain
 
bagSize() - Method in class warbot.kernel.Brain
return the current nb of objects in the robot's bag.
behaviorFileName - Variable in class warbot.kernel.BasicBody
 
brainClass - Variable in class warbot.kernel.BasicBody
 
broadcast(String, String, String) - Method in class warbot.kernel.Brain
Sends a WarbotMessage with performative m to all agents with role roleName in group groupName
broadcast(String, String, String, String) - Method in class warbot.kernel.Brain
Sends a WarbotMessage with performative m and argument a to all agents with role roleName in group groupName
broadcast(String, String, String, String, String) - Method in class warbot.kernel.Brain
Sends a WarbotMessage with performative m and arguments a1 and a2 to all agents with role roleName in group groupName
broadcast(String, String, String, String[]) - Method in class warbot.kernel.Brain
Sends a WarbotMessage with performative m and an array of String arguments c to all agents with role roleName in group groupName
broadcastMessage(String, String, madkit.kernel.Message) - Method in class warbot.kernel.Brain
In warbot you can only send messages that are instance of the class madkit.messages.StringMessage.
buildRocket() - Method in class warbot.kernel.BasicBody
try to do the action of building a rocket for future launch
buildRocket() - Method in class warbot.kernel.Brain
try to do the action of building a rocket for future launch.
buildRocket() - Method in class warbot.kernel.RocketLauncher
 

C

CREATE - Static variable in class warbot.kernel.Home
 
Crossable - interface warbot.kernel.Crossable.
 
createAgent(String) - Method in class warbot.kernel.BasicBody
 
createAgent(String) - Method in class warbot.kernel.Brain
Tries to create an agent with the available resources.
createAgent(String) - Method in class warbot.kernel.Home
 
createDefaultImage() - Method in class warbot.kernel.BasicBody
 

D

DATE - Static variable in class warbot.kernel.WarbotScheduler
 
DISTANCE_TO_EAT - Static variable in class warbot.kernel.BasicBody
 
DISTANCE_TO_TAKE - Static variable in class warbot.kernel.BasicBody
 
DROP - Static variable in class warbot.kernel.BasicBody
 
DROPALL - Static variable in class warbot.kernel.BasicBody
 
DebugViewer - class warbot.kernel.DebugViewer.
 
decreaseEnergyLevel(int) - Method in class warbot.kernel.Entity
 
delete() - Method in class warbot.kernel.BasicBody
 
delete() - Method in class warbot.kernel.Entity
 
detectingRange - Variable in class warbot.kernel.Entity
 
die() - Method in class warbot.kernel.BasicBody
 
displaySize - Variable in class warbot.kernel.Entity
 
distanceFrom(Entity) - Method in class warbot.kernel.Entity
Compute the distance between this entity and another entity e.
distanceTo(Percept) - Method in class warbot.kernel.Brain
returns the distance relative to the perceived entity
doDrag(int, int) - Method in class warbot.kernel.GEntity
 
doIt() - Method in class warbot.demo.Ant
 
doIt() - Method in class warbot.demo.HomeKiller
 
doIt() - Method in class warbot.demo.RastaRocket
 
doIt() - Method in class warbot.kernel.Brain
This method controls the behavior of a robot.
doIt() - Method in class warbot.kernel.Rocket
 
doIt() - Method in class warbot.kernel.ScriptedBrain
 
drop(int) - Method in class warbot.kernel.BasicBody
 
drop(int) - Method in class warbot.kernel.Brain
Drop and put in the environment the item that the robot got in its bag.
dropAll() - Method in class warbot.kernel.BasicBody
 
dropAll() - Method in class warbot.kernel.Brain
Drop and put in the environment everything the robot got in its bag Drop the item if it is possible.
dropEntity(Entity, double) - Method in class warbot.kernel.Entity
 

E

EAT - Static variable in class warbot.kernel.BasicBody
 
EXPLORER - Static variable in class warbot.kernel.WarbotEnvironment
 
Entity - class warbot.kernel.Entity.
 
Explorer - class warbot.kernel.Explorer.
 
Explorer(WarbotEnvironment, Brain, String) - Constructor for class warbot.kernel.Explorer
 
Explorer() - Constructor for class warbot.kernel.Explorer
 
eat(Food) - Method in class warbot.kernel.BasicBody
 
eat(Food) - Method in class warbot.kernel.Brain
Try to eat some Food (Food is a percept like everything in warbot world), This action may only be performed once per turn (when the robot is actived), Thus, it is useless to call it several time in the doIt (it will have no effect)
edit() - Method in class warbot.kernel.BasicBody
 
edit() - Method in class warbot.kernel.Brain
 
edit() - Method in class warbot.kernel.ScriptedBrain
 
end() - Method in class warbot.kernel.WarbotScheduler
 
end() - Method in class warbot.kernel.WarbotStructure
Close the structure by deleting all entities before closing.
energy - Variable in class warbot.kernel.Entity
 

F

Food - class warbot.kernel.Food.
The food percept.

G

GBasicBody - class warbot.kernel.GBasicBody.
 
GBasicBody() - Constructor for class warbot.kernel.GBasicBody
 
GEntity - class warbot.kernel.GEntity.
 
GEntity() - Constructor for class warbot.kernel.GEntity
 
getAct() - Method in class warbot.kernel.WarbotMessage
 
getAgent() - Method in class warbot.kernel.Percept
returns the AgentAddress of the perceived body (if any)
getArg1() - Method in class warbot.kernel.WarbotMessage
 
getArg2() - Method in class warbot.kernel.WarbotMessage
 
getArgN(int) - Method in class warbot.kernel.WarbotMessage
 
getBagCapacity() - Method in class warbot.kernel.BasicBody
 
getBagCapacity() - Method in class warbot.kernel.Brain
return the capacity of the robot's bag
getBagPercepts() - Method in class warbot.kernel.Brain
returns all the things you have in the robot's bag.
getBehaviorFileName() - Method in class warbot.kernel.BasicBody
Return the behavior file name attached to the brain class used for scripting.
getBrainClass() - Method in class warbot.kernel.BasicBody
Get the brain class name of an entity which generally derives from AbstractAgent.
getContent() - Method in class warbot.kernel.WarbotMessage
 
getCoveredDistance() - Method in class warbot.kernel.Brain
returns the distance covered for the last unit of time.
getCoveredDistance() - Method in class warbot.kernel.MovableEntity
 
getCycleNumber() - Method in class warbot.kernel.WarbotScheduler
 
getDetectingRange() - Method in class warbot.kernel.Entity
 
getDistance() - Method in class warbot.kernel.Percept
returns the relative distance to the perceived entity
getEnergy() - Method in class warbot.kernel.Entity
 
getEnergy() - Method in class warbot.kernel.Percept
returns the energy of the Percept detected (if any)
getEnergyLevel() - Method in class warbot.kernel.Brain
 
getEntity() - Method in class warbot.kernel.Percept
 
getEntityInterfaceType() - Method in class warbot.kernel.Home
 
getEnvironmentAgent() - Method in class warbot.kernel.Entity
 
getFromX() - Method in class warbot.kernel.WarbotMessage
 
getFromY() - Method in class warbot.kernel.WarbotMessage
 
getHeading() - Method in class warbot.kernel.Brain
get the robot's current heading
getHeading() - Method in class warbot.kernel.MovableEntity
 
getInArrows() - Method in class warbot.kernel.Entity
 
getLength() - Method in class warbot.kernel.WarbotMessage
 
getMaximumEnergy() - Method in class warbot.kernel.BasicBody
 
getMaximumEnergy() - Method in class warbot.kernel.Brain
 
getName() - Method in class warbot.kernel.Entity
 
getOutArrows() - Method in class warbot.kernel.Entity
 
getPerceptType() - Method in class warbot.kernel.Percept
returns a label which represents the type of the perceived entity
getPerception() - Method in class warbot.kernel.JessBrain
 
getPercepts() - Method in class warbot.kernel.BasicBody
 
getPercepts() - Method in class warbot.kernel.Brain
Gets all the percepts available in the detection range.
getRadius() - Method in class warbot.kernel.Entity
 
getRadius() - Method in class warbot.kernel.Percept
returns the radius of the perceived entity
getResourceLevel() - Method in class warbot.kernel.BasicBody
 
getResourceLevel() - Method in class warbot.kernel.Brain
 
getResourceLevel() - Method in class warbot.kernel.Home
 
getRocketNb() - Method in class warbot.kernel.BasicBody
 
getRocketNb() - Method in class warbot.kernel.RocketLauncher
 
getRocketNumber() - Method in class warbot.kernel.Brain
how many rocket do the robot currently hold
getShot() - Method in class warbot.kernel.Brain
 
getShot() - Method in class warbot.kernel.Entity
 
getShowDetect() - Method in class warbot.kernel.Entity
 
getShowEnergyLevel() - Method in class warbot.kernel.Entity
 
getSpeed() - Method in class warbot.kernel.Entity
 
getTeam() - Method in class warbot.kernel.Brain
 
getTeam() - Method in class warbot.kernel.Entity
 
getTeam() - Method in class warbot.kernel.Percept
returns the team of the Percept detected (if any)
getUserMessage() - Method in class warbot.kernel.BasicBody
 
getWorldHeight() - Method in class warbot.kernel.WarbotStructure
 
getWorldWidth() - Method in class warbot.kernel.WarbotStructure
 
getX() - Method in class warbot.kernel.Entity
 
getX() - Method in class warbot.kernel.Percept
returns the relative x coordinate of the perceived entity
getY() - Method in class warbot.kernel.Entity
 
getY() - Method in class warbot.kernel.Percept
returns the relative y coordinate of the perceived entity

H

HAMBURGER - Static variable in class warbot.kernel.WarbotEnvironment
 
HOME - Static variable in class warbot.kernel.WarbotEnvironment
 
Hamburger - class warbot.kernel.Hamburger.
 
Hamburger(WarbotEnvironment, String, int, int, int) - Constructor for class warbot.kernel.Hamburger
 
Hamburger() - Constructor for class warbot.kernel.Hamburger
 
Home - class warbot.kernel.Home.
 
Home(WarbotEnvironment, Brain, String) - Constructor for class warbot.kernel.Home
 
Home() - Constructor for class warbot.kernel.Home
 
HomeKiller - class warbot.demo.HomeKiller.
 
HomeKiller() - Constructor for class warbot.demo.HomeKiller
 
hamburgerGif - Static variable in class warbot.kernel.Hamburger
 

I

inMyBag() - Method in class warbot.kernel.BasicBody
 
increaseEnergyLevel(int) - Method in class warbot.kernel.BasicBody
 
increaseEnergyLevel(int) - Method in class warbot.kernel.Entity
 
increaseResourceLevel(int) - Method in class warbot.kernel.Home
 
init() - Method in class warbot.kernel.BasicBody
 
init() - Method in class warbot.kernel.Brain
Method invoked just after creation of the Brain and before the activate() method.
init() - Method in class warbot.kernel.Entity
 
init() - Method in class warbot.kernel.JessBrain
 
init() - Method in class warbot.kernel.PythonBrain
 
initGUI() - Method in class warbot.kernel.DebugViewer
 
initGUI() - Method in class warbot.kernel.JessBrain
 
initGUI() - Method in class warbot.kernel.MapViewer
 
initGUI() - Method in class warbot.kernel.ScriptedBrain
 
initGUI() - Method in class warbot.kernel.Warbot
 
initialEnergy - Variable in class warbot.kernel.Entity
 
inspect() - Method in class warbot.kernel.PythonBrain
 
isBagEmpty() - Method in class warbot.kernel.Brain
return true if the robot's bag if empty.
isBagFull() - Method in class warbot.kernel.Brain
return true if the robot's bag if full.
isConnectable(SArrow, boolean) - Method in class warbot.kernel.Entity
 
isMoving() - Method in class warbot.kernel.Brain
Tells if the robot has moved in the preceding turn or not.
isMyBagEmpty() - Method in class warbot.kernel.BasicBody
 
isMyBagEmpty() - Method in class warbot.kernel.Brain
 
isMyBagFull() - Method in class warbot.kernel.BasicBody
 
isMyBagFull() - Method in class warbot.kernel.Brain
 
isRunning() - Method in class warbot.kernel.WarbotScheduler
 
isShowMessages() - Method in class warbot.kernel.BasicBody
 
isShowUserMessage() - Method in class warbot.kernel.BasicBody
 
isShowUserMessage() - Method in class warbot.kernel.Brain
 

J

JessBrain - class warbot.kernel.JessBrain.
 
JessBrain() - Constructor for class warbot.kernel.JessBrain
 

L

launchRocket(double) - Method in class warbot.kernel.BasicBody
 
launchRocket(double) - Method in class warbot.kernel.Brain
try to do the action of launching a rocket in the desired direction to perform such an action the robot's body must have the ability to launch rockets (like a RocketLauncher) As the action move, it is useless to call this method several time in the doIt: at most just one rocket will be launched.
launchRocket(double) - Method in class warbot.kernel.RocketLauncher
 
live() - Method in class warbot.kernel.WarbotScheduler
 

M

MOVE - Static variable in class warbot.kernel.MovableEntity
 
MapViewer - class warbot.kernel.MapViewer.
 
MovableEntity - class warbot.kernel.MovableEntity.
 
makeBrain(String, String, boolean, String) - Method in class warbot.kernel.BasicBody
Creates the brain and launches if it is an agent.
makePercept(double, double, double) - Method in class warbot.kernel.BasicBody
 
makePercept(double, double, double) - Method in class warbot.kernel.Entity
 
makePercept(double, double, double) - Method in class warbot.kernel.Explorer
 
makePercept(double, double, double) - Method in class warbot.kernel.Hamburger
 
makePercept(double, double, double) - Method in class warbot.kernel.Home
 
makePercept(double, double, double) - Method in class warbot.kernel.Palmtree
 
makePercept(double, double, double) - Method in class warbot.kernel.Rocket
 
makePercept(double, double, double) - Method in class warbot.kernel.RocketLauncher
 
makePercept(double, double, double) - Method in class warbot.kernel.Wall
 
mapViewer() - Method in class warbot.kernel.WarbotStructure
 
maximumEnergy - Variable in class warbot.kernel.BasicBody
 
maximumRocket - Static variable in class warbot.kernel.RocketLauncher
 
move() - Method in class warbot.kernel.BasicBody
 
move() - Method in class warbot.kernel.Brain
Try to move the robot in the world This action may only be performed once per turn (when the robot is actived), Thus, it is useless to call it several time in the doIt (it will have no effect)
moving() - Method in class warbot.kernel.MovableEntity
 

N

NULL - Static variable in class warbot.kernel.Entity
 
nbOfObjectsInMyBag() - Method in class warbot.kernel.BasicBody
 

O

observe() - Method in class warbot.kernel.DebugViewer
 
observe() - Method in class warbot.kernel.MapViewer
 

P

PALMTREE - Static variable in class warbot.kernel.WarbotEnvironment
 
Palmtree - class warbot.kernel.Palmtree.
 
Palmtree(WarbotEnvironment, int) - Constructor for class warbot.kernel.Palmtree
 
Percept - class warbot.kernel.Percept.
In warbot, everything is only Percept for a Brain. the informations given by the Percept are all relative to the position of Body of the Brain
PythonBrain - class warbot.kernel.PythonBrain.
 
PythonBrain() - Constructor for class warbot.kernel.PythonBrain
 
paint(Graphics) - Method in class warbot.kernel.GBasicBody
 
paint(Graphics) - Method in class warbot.kernel.GEntity
 
power - Variable in class warbot.kernel.Rocket
 
preactivate() - Method in class warbot.kernel.WarbotStructure
 
println(String) - Method in class warbot.kernel.ScriptedBrain
 

R

RESOURCEUNIT - Static variable in class warbot.kernel.Home
 
ROCKETLAUNCHER - Static variable in class warbot.kernel.WarbotEnvironment
 
RastaRocket - class warbot.demo.RastaRocket.
 
RastaRocket() - Constructor for class warbot.demo.RastaRocket
 
Rocket - class warbot.kernel.Rocket.
 
Rocket(WarbotEnvironment, double) - Constructor for class warbot.kernel.Rocket
 
Rocket() - Constructor for class warbot.kernel.Rocket
 
RocketLauncher - class warbot.kernel.RocketLauncher.
 
RocketLauncher(WarbotEnvironment, Brain, String) - Constructor for class warbot.kernel.RocketLauncher
 
RocketLauncher() - Constructor for class warbot.kernel.RocketLauncher
 
radius - Variable in class warbot.kernel.Entity
 
randomHeading() - Method in class warbot.kernel.Brain
Give a random direction to the robot
readMessage() - Method in class warbot.kernel.Brain
Reads a message in the message box.
receiveMessage(Message) - Method in class warbot.kernel.Brain
Put a message into the mailbox and update the relative coordinates of the sender Kernel action, don't invoke this method yourself...
rocketGif - Static variable in class warbot.kernel.Rocket
 
rocketNb - Variable in class warbot.kernel.RocketLauncher
 

S

SHOOT - Static variable in class warbot.kernel.RocketLauncher
 
ScriptedBrain - class warbot.kernel.ScriptedBrain.
 
ScriptedBrain() - Constructor for class warbot.kernel.ScriptedBrain
 
send(madkit.kernel.AgentAddress, String) - Method in class warbot.kernel.Brain
Sends a WarbotMessage with performative m to the target agent
send(madkit.kernel.AgentAddress, String, String) - Method in class warbot.kernel.Brain
Sends a WarbotMessage with performative m and argument a to the target agent
send(madkit.kernel.AgentAddress, String, String, String) - Method in class warbot.kernel.Brain
Sends a WarbotMessage with performative m and arguments a1 and a2 to the target agent
send(madkit.kernel.AgentAddress, String, String[]) - Method in class warbot.kernel.Brain
Sends a WarbotMessage with performative m and an array of String arguments c to the target agent
sendMessage(String, String, madkit.kernel.Message) - Method in class warbot.kernel.Brain
In warbot you can only send messages that are instance of the class WarbotMessage.
sendMessage(madkit.kernel.AgentAddress, madkit.kernel.Message) - Method in class warbot.kernel.Brain
In warbot you can only send messages that are instance of the class WarbotMessage.
setBehaviorFileName(String) - Method in class warbot.kernel.BasicBody
Set the behavior file name attached to the brain class used for scripting the behavior.
setBrainClass(String) - Method in class warbot.kernel.BasicBody
set the brain class name of an entity.
setDetectingRange(int) - Method in class warbot.kernel.Entity
 
setEnergy(int) - Method in class warbot.kernel.Entity
 
setEnvironment(WarbotEnvironment) - Method in class warbot.kernel.WarbotScheduler
 
setEnvironmentAgent(WarbotEnvironment) - Method in class warbot.kernel.Entity
 
setHeading(double) - Method in class warbot.kernel.Brain
set the robot direction, direction
setHeading(double) - Method in class warbot.kernel.MovableEntity
 
setName(String) - Method in class warbot.kernel.Entity
 
setPerceptType(String) - Method in class warbot.kernel.Percept
 
setPercepts(Percept[]) - Method in class warbot.kernel.BasicBody
 
setRadius(int) - Method in class warbot.kernel.Entity
 
setRunning(boolean) - Method in class warbot.kernel.WarbotScheduler
 
setShowDetect(boolean) - Method in class warbot.kernel.Entity
 
setShowEnergyLevel(boolean) - Method in class warbot.kernel.Entity
 
setShowMessages(boolean) - Method in class warbot.kernel.BasicBody
 
setShowUserMessage(boolean) - Method in class warbot.kernel.BasicBody
 
setSpeed(int) - Method in class warbot.kernel.Entity
Displays the graphic representation of the body.
setTeam(String) - Method in class warbot.kernel.Entity
 
setUserMessage(String) - Method in class warbot.kernel.BasicBody
 
setUserMessage(String) - Method in class warbot.kernel.Brain
 
setWorldHeight(int) - Method in class warbot.kernel.WarbotStructure
 
setWorldWidth(int) - Method in class warbot.kernel.WarbotStructure
 
setX(double) - Method in class warbot.kernel.Entity
 
setY(double) - Method in class warbot.kernel.Entity
 
showDetect - Variable in class warbot.kernel.Entity
 
showDetect() - Method in class warbot.kernel.WarbotStructure
 
showEnergyLevel - Variable in class warbot.kernel.Entity
 
showMessages() - Method in class warbot.kernel.WarbotStructure
 
showUserMessage(boolean) - Method in class warbot.kernel.Brain
 
showUserMessage() - Method in class warbot.kernel.WarbotStructure
 
speed - Variable in class warbot.kernel.Entity
 
start() - Method in class warbot.kernel.WarbotStructure
 
step() - Method in class warbot.kernel.WarbotStructure
 
stop() - Method in class warbot.kernel.WarbotStructure
 

T

TAKE - Static variable in class warbot.kernel.BasicBody
 
TYPES - Static variable in class warbot.kernel.WarbotEnvironment
 
Transportable - interface warbot.kernel.Transportable.
This interface represents entities that an agent may take and drop.
take(Transportable) - Method in class warbot.kernel.BasicBody
 
take(Transportable) - Method in class warbot.kernel.Brain
try to put something in the robot's bag.
toString() - Method in class warbot.kernel.Entity
 
toggleShowDetect() - Method in class warbot.kernel.Entity
 
toggleShowEnergyLevel() - Method in class warbot.kernel.Entity
 
toggleShowMessages() - Method in class warbot.kernel.BasicBody
 
toggleShowUserMessage() - Method in class warbot.kernel.BasicBody
 
towards(double, double) - Method in class warbot.kernel.Brain
returns the direction heading to the relative point a,b
translate(int, int) - Method in class warbot.kernel.GEntity
 
tryEat() - Method in class warbot.kernel.BasicBody
 
tryEat() - Method in class warbot.kernel.Home
 
tryMove() - Method in class warbot.kernel.MovableEntity
 

V

VERSION - Static variable in class warbot.kernel.WarbotScheduler
 

W

WALL - Static variable in class warbot.kernel.WarbotEnvironment
 
Wall - class warbot.kernel.Wall.
 
Wall(WarbotEnvironment, String, int, int) - Constructor for class warbot.kernel.Wall
 
Wall() - Constructor for class warbot.kernel.Wall
 
Warbot - class warbot.kernel.Warbot.
WARBOT
Warbot() - Constructor for class warbot.kernel.Warbot
 
WarbotEnvironment - class warbot.kernel.WarbotEnvironment.
 
WarbotMessage - class warbot.kernel.WarbotMessage.
 
WarbotScheduler - class warbot.kernel.WarbotScheduler.
 
WarbotStructure - class warbot.kernel.WarbotStructure.
 
WarbotStructure() - Constructor for class warbot.kernel.WarbotStructure
 
warbot.demo - package warbot.demo
 
warbot.kernel - package warbot.kernel
 
world - Variable in class warbot.kernel.WarbotEnvironment
 

X

x - Variable in class warbot.kernel.Entity
 
xdisplay - Variable in class warbot.kernel.Entity
 

Y

y - Variable in class warbot.kernel.Entity
 
ydisplay - Variable in class warbot.kernel.Entity
 

A B C D E F G H I J L M N O P R S T V W X Y

Copyright © Madkit Team (O. Gutknecht, J. Ferber, F. Michel et al.) All Rights Reserved.