API ROBOCODE PDF

Robocode is a programming game where the goal is to code a robot to compete against other robots in a battle arena. The player is the programmer of the robot, who will have no direct influence on the game. Instead, the player must write the AI of the robot telling it how to behave and react on events occurring in the battle arena. So the name Robocode is a short for "Robot code".

Author:Dataur Brajind
Country:Nicaragua
Language:English (Spanish)
Genre:Software
Published (Last):27 September 2014
Pages:101
PDF File Size:3.69 Mb
ePub File Size:4.67 Mb
ISBN:249-6-37863-688-2
Downloads:8660
Price:Free* [*Free Regsitration Required]
Uploader:Fejind



Event - Constructor for class robocode. Event Default constructor used by the game to create a new event. AdvancedRobot Executes any pending actions, or continues executing actions that are in process.

RateControlRobot Executes any pending actions, or continues executing actions that are in process. IBasicRobotPeer Executes any pending actions, or continues executing actions that are in process. F fieldHeight - Variable in class robocode.

JuniorRobot Contains the height of the battlefield. JuniorRobot Contains the width of the battlefield. JuniorRobot Fires a bullet with the default power of 1. JuniorRobot Fires a bullet with the specified bullet power, which is between 0.

Robot Immediately fires a bullet. IBasicRobotPeer Immediately fires a bullet. BattleResults flush - Method in class robocode. RobocodeFileOutputStream Flushes this output stream. AdvancedRobot Do not call this method! IAdvancedRobot This method is called by the game to notify this robot about advanced robot event. RobotSpecification Returns the name of the author of this robot or team. JuniorRobot Do not call this method!

Robot This method is called by the game to notify this robot about basic robot event. IBasicRobot This method is called by the game to notify this robot about basic robot event. BattleSpecification Returns the battlefield size for this battle. BattleRules Returns the battlefield height. Robot Returns the height of the current battlefield measured in pixels. IBasicRobotPeer Returns the height of the current battlefield measured in pixels.

BattleRules Returns the battlefield width. Robot Returns the width of the current battlefield measured in pixels. IBasicRobotPeer Returns the width of the current battlefield measured in pixels.

BattleCompletedEvent Returns the rules used in the battle. BattleStartedEvent Returns the rules that will be used in the battle. HitRobotEvent Deprecated. HitWallEvent Deprecated. IRobotSnapshot Returns the color of the body. IRobotSnapshot Returns the body heading of the robot in radians. BulletHitBulletEvent Returns your bullet that hit another bullet.

BulletHitEvent Returns the bullet of yours that hit the robot. BulletMissedEvent Returns the bullet that missed. HitByBulletEvent Returns the bullet that hit your robot. BattleResults Returns the bullet damage score of this robot in the battle.

Rules Returns the amount of damage of a bullet given a specific bullet power. BattleResults Returns the bullet damage bonus of this robot in the battle. IBulletSnapshot Returns the ID of the bullet used for identifying the bullet in a collection of bullets. ITurnSnapshot Returns a list of snapshots for the bullets that are currently on the battlefield.

RobotSpecification Returns the full class name of this robot or team. IBulletSnapshot Returns the color of the bullet. CustomEvent Returns the condition that fired, causing this event to be generated. IRobotSnapshot Returns the contestant index, which is unique for each robot or team participating in a battle. IScoreSnapshot Returns the current bullet damage score. IScoreSnapshot Returns the current bullet kill bonus. IScoreSnapshot Returns the current ramming damage score.

IScoreSnapshot Returns the current ramming kill bonus. IScoreSnapshot Returns the current score. IScoreSnapshot Returns the current survival bonus. IScoreSnapshot Returns the current survival score. RobocodeEngine Returns the current working directory. AdvancedRobot Returns the data quota available in your data directory, i. IAdvancedRobotPeer Returns the data quota available in your data directory, i. IRobotSnapshot Returns a snapshot of debug properties.

RobotSpecification Returns the description provided by the author of this robot or team. ScannedRobotEvent Returns the distance to the robot your center to his center. BulletHitEvent Returns the remaining energy of the robot your bullet has hit after the damage done by your bullet. IRobotSnapshot Returns the energy level of the robot. HitRobotEvent Returns the amount of energy of the robot you hit. ScannedRobotEvent Returns the energy of the robot. BattleErrorEvent Returns the error message.

AdvancedRobot Returns the current priority of a class of events. IAdvancedRobotPeer Returns the current priority of a class of events. IBulletSnapshot Returns the explosion image index, which is different depending on the type of explosion.

BattleResults Returns the number of rounds this robot placed first in the battle. IBulletSnapshot Returns the current frame number to display, i. Robot Returns a graphics context used for painting graphical items for the robot. IBasicRobotPeer Returns a graphics context used for painting graphical items for the robot. IRobotSnapshot Returns the color of the gun. BattleRules Returns the rate at which the gun will cool down, i. BattleSpecification Returns the gun cooling rate of the robots in this battle.

Robot Returns the rate at which the gun will cool down, i. IBasicRobotPeer Returns the rate at which the gun will cool down, i. IRobotSnapshot Returns the gun heading of the robot in radians. IRobotSnapshot Returns the gun heat of the robot. Robot Returns the current heat of the gun. IBasicRobotPeer Returns the current heat of the gun. RobotStatus Returns the current heat of the gun. Rules Returns the heat produced by firing the gun given a specific bullet power.

RobotSetup Returns the body, gun, and radar heading in degrees. IBulletSnapshot getHeading - Method in class robocode. HitByBulletEvent Deprecated. BattlefieldSpecification Returns the height of this battlefield. Robot Returns the height of the robot measured in pixels. BattleRules Returns true if the enemy names are hidden, i. BattleSpecification Returns the flag specifying if the enemy names must be hidden from events sent to robots.

BulletHitBulletEvent Returns the bullet that was hit by your bullet. BattleRules Returns the allowed inactivity time, where the robot is not taking any action, before will begin to be zapped.

CA5403 FORM PDF

Robocode/Getting Started

.

LIVRO AUTOBIOGRAFIA DE UM IOGUE PDF

.

Related Articles