Package de.uni_paderborn.robots.robotArenaInterface

This package contains classes for the interface from the arena class to the robot thread.

See:
          Description

Interface Summary
CardConstants useful card constants
RobotFunctions
This interface must be implemented
in the robot class of each group
in order to provide a unified interface
to the arena.

 

Class Summary
AbstractRobotAction This is the abstract superclass of every action class returned by the robot!
CardData
This class represents the cards of a common poker game.
In a poker game a card has a color and a value.
Colors: DIAMOND, HEART, SPADE, CLUB
Values: TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE, TEN, JACK, LADY, KING, ACE

Poker has 10 card combinations.
ExchangeAction
This class describes a ExchangeAction.
ExchangeAction is a possible return value
of the "getCommand" method.
This Action should be returned
by "getCommand" if a robot wants to
exchange a card from it's hand with
the card on the field in front of it.
The energy of the robot will decrease.
Exit This class represents an exit.
FieldData
This class contains the data for a field and
can have up to one reference to an ItemData Object.
Please be aware that if there is no item on the field "getItem" returns null.

ItemData
This is the abstract superclass of all items
that can be on a field of a arena.
A robot can identify the item
by using the command "instanceof"
NO GROUP is allowed to create
custom subclasses of ItemData.
MoveAction This class describes a MoveAction.
MoveAction is a possible return value
of the "getCommand" method.
This Action should be returned
by "getCommand" if a robot wants to move
to the field in front of it.
The energy of the robot will decrease.
NoAction This class describes a NoAction.
NoAction is a possible return value
of the "getCommand" method.
This Action should be returned
by "getCommand" if a robot wants to do
nothing.
The energy of the robot will NOT decrease.
PickUpAction This class describes a PickupAction.
PickupAction is a possible return value
of the "getCommand" method.
This Action should be returned
by "getCommand" if a robot wants to pickup
a card from the field in front of it.
The energy of the robot will decrease.
PutAction This class describes a PutAction.
PutAction is a possible return value
of the "getCommand" method.
This Action should be returned
by "getCommand" if a robot wants to put
a card from it's hand onto the field
in front of it.
The energy of the robot will decrease.
Recharger
This class represents a recharger.
RobotData
This container class is the only parameter for getCommand
and contains sight of the robot ( in robot, left, front, right ),
the cards on the hand of the robot ( hand ) and the current
energy of the robot.
RotateAction This class describes a RotateAction.
RotateAction is a possible return value
of the "getCommand" method.
This Action should be returned
by "getCommand" if a robot wants to
rotate.
The energy of the robot will decrease.
VirtualRobot
This class represents robot.
Wall
This class represents a wall

Wormhole
This class represents a wormhole.

The arena is NOT allowed to rotate
robots which walk through a wormhole.

A wormhole can be used in both directions
=> stable wormhole.
 

Package de.uni_paderborn.robots.robotArenaInterface Description

This package contains classes for the interface from the arena class to the robot thread.