This set of simple rules and API methods makes creation of a new robot to be easy and fast. getBattleFieldWidth() / getBattleFieldHeight() = get dimensions of the map.getHeading() / getGunHeading() / getRadarHeading()= get the angle of the vehicle / gun / radar.getX() / getY() = get the coordinates of the robot.turnGunRight(double degree) / turnGunLeft(double degree) = turns the gunturnRadarRight(double degree) / turnRadarLeft(double degree) = turns the radar.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |