|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITransformable
Defines methods that are required by the AdvancedCollision class.
Method Summary | |
---|---|
Rectangle2D |
getBoundingBox()
Get the bounding box of the robot. |
boolean |
isAdvancedRobot()
Checks if this robot is an isAdvancedRobot . |
boolean |
isDroid()
Checks if this robot is a Droid . |
boolean |
isInteractiveRobot()
Checks if this robot is an InteractiveRobot. |
boolean |
isJuniorRobot()
Checks if this robot is a JuniorRobot . |
boolean |
isPaintRobot()
Checks if this robot is an IPaintRobot or is invoking getGraphics() |
boolean |
isShip()
Checks if this robot is an isShip . |
Methods inherited from interface robocode.robotinterfaces.ITransformablePeer |
---|
getBattleFieldHeight, getBattleFieldWidth, getBodyHeading, getX, getY |
Method Detail |
---|
Rectangle2D getBoundingBox()
Rectangle2D
.boolean isDroid()
Droid
.
true
if this robot is a Droid; false
otherwise.boolean isJuniorRobot()
JuniorRobot
.
true
if this robot is a JuniorRobot; false
otherwise.boolean isInteractiveRobot()
true
if this robot is a InteractiveRobot; false
otherwise.boolean isPaintRobot()
IPaintRobot
or is invoking getGraphics()
true
if this robot is a painting; false
otherwise.boolean isAdvancedRobot()
isAdvancedRobot
.
true
if this robot is a isAdvancedRobot; false
otherwise.boolean isShip()
isShip
.
true
if this rboot is a ship; false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |