Package-level declarations

This is the main package of the FoPBot project. It contains all the classes and functions needed to create a FoPBot environment and run it.

Types

Link copied to clipboard
public class Block extends FieldEntity
A field entity that represents a block on a graphical user interface.
Link copied to clipboard
public class Coin extends FieldEntity
A field entity that represents coins on a graphical user interface.
Link copied to clipboard
public enum Direction
Defines the (viewing) direction that an entity can have.
Link copied to clipboard
public class Field
A single field in a 2D world where field entities can be placed.
Link copied to clipboard
public final class FieldClickEvent
A FieldClickEvent represents a click on a field.
Link copied to clipboard
public interface FieldClickListener
A FieldClickListener is a listener for FieldClickEvents.
Link copied to clipboard
public abstract class FieldEntity
This class represents a field entity on a graphical user interface and acts as a parent class of every entity on the field.
Link copied to clipboard
@ApiStatus.Internal()
public class GuiPanel extends JPanel
The graphical user interface in which the FoPBot world is represented.
Link copied to clipboard
public class InputHandler
The InputHandler is responsible for handling input events of the GuiPanel.
Link copied to clipboard
public class KarelWorld
Represents the FOP Bot world on a graphical user interface.
Link copied to clipboard
public enum Key
A constant of this enumeration represents a key registered by the InputHandler.
Link copied to clipboard
public final class KeyPressEvent
A KeyPressEvent represents a key press registered by the InputHandler.
Link copied to clipboard
public interface KeyPressListener
A KeyPressListener is a listener for key press events registered by the InputHandler.
Link copied to clipboard
public class Robot extends FieldEntity
A field entity that represents a robot on a graphical user interface.
Link copied to clipboard
public enum RobotFamily
An enumeration of robot families.
Link copied to clipboard
public class RobotTrace implements Iterable<T>
Enables the analysis or tracing of the actions of robots.
Link copied to clipboard
public class Transition
Defines the transition of a robot with its associated action.
Link copied to clipboard
public class Wall extends FieldEntity
A field entity that represents a wall on a graphical user interface.
Link copied to clipboard
public class World
A wrapper of a KarelWorld which represents a global world.