From ddb0587e44d777d2d631f0581b4a172b643cc654 Mon Sep 17 00:00:00 2001 From: Jerry Mao Date: Sun, 2 Jan 2022 14:42:52 -0500 Subject: [PATCH] Preliminary javadocs and bytecode costs --- build.gradle | 20 +- .../common/AnomalyScheduleEntry.java | 7 + .../main/battlecode/common/AnomalyType.java | 6 +- .../src/main/battlecode/common/BodyInfo.java | 28 --- .../main/battlecode/common/GameConstants.java | 2 +- .../battlecode/common/RobotController.java | 14 +- .../src/main/battlecode/common/RobotType.java | 73 ++++++-- .../bytecode/resources/MethodCosts.txt | 176 +++++++++++------- gradle.properties | 2 +- 9 files changed, 197 insertions(+), 131 deletions(-) delete mode 100644 engine/src/main/battlecode/common/BodyInfo.java diff --git a/build.gradle b/build.gradle index 2e2c4fb3..216be097 100644 --- a/build.gradle +++ b/build.gradle @@ -272,13 +272,6 @@ task releaseClientLinux32(type: Zip, dependsOn: ['prodClient']) { -task updateVersion() { - // new File("frontend/public/version.txt").write(project.findProperty('release_version')) -} - - - -publish.dependsOn(updateVersion) publishing { repositories { maven { @@ -296,11 +289,10 @@ publishing { publications { server(MavenPublication) { groupId 'org.battlecode' - artifactId 'battlecode21' + artifactId 'battlecode22' version project.findProperty('release_version') ?: 'NONSENSE' artifact release_main - artifact release_docs { classifier 'javadoc' @@ -312,7 +304,7 @@ publishing { clientWin(MavenPublication) { groupId 'org.battlecode' - artifactId 'battlecode21-client-win' + artifactId 'battlecode22-client-win' version project.findProperty('release_version') ?: 'NONSENSE' artifact releaseClientWin @@ -320,7 +312,7 @@ publishing { clientMac(MavenPublication) { groupId 'org.battlecode' - artifactId 'battlecode21-client-mac' + artifactId 'battlecode22-client-mac' version project.findProperty('release_version') ?: 'NONSENSE' artifact releaseClientMac @@ -328,7 +320,7 @@ publishing { clientLinux(MavenPublication) { groupId 'org.battlecode' - artifactId 'battlecode21-client-linux' + artifactId 'battlecode22-client-linux' version project.findProperty('release_version') ?: 'NONSENSE' artifact releaseClientLinux @@ -336,7 +328,7 @@ publishing { clientWin32(MavenPublication) { groupId 'org.battlecode' - artifactId 'battlecode21-client-win-32' + artifactId 'battlecode22-client-win-32' version project.findProperty('release_version') ?: 'NONSENSE' artifact releaseClientWin32 @@ -344,7 +336,7 @@ publishing { clientLinux32(MavenPublication) { groupId 'org.battlecode' - artifactId 'battlecode21-client-linux-32' + artifactId 'battlecode22-client-linux-32' version project.findProperty('release_version') ?: 'NONSENSE' artifact releaseClientLinux32 diff --git a/engine/src/main/battlecode/common/AnomalyScheduleEntry.java b/engine/src/main/battlecode/common/AnomalyScheduleEntry.java index eef5c249..432a6966 100644 --- a/engine/src/main/battlecode/common/AnomalyScheduleEntry.java +++ b/engine/src/main/battlecode/common/AnomalyScheduleEntry.java @@ -1,5 +1,10 @@ package battlecode.common; +/** + * AnomalyScheduleEntry describes a single anomaly in the schedule. + * + * You can access information about that anomaly's round number and type. + */ public class AnomalyScheduleEntry { public final int roundNumber; @@ -22,6 +27,8 @@ public AnomalyScheduleEntry copyEntry() { * * @param other the other anomaly schedule entry to compare to * @return whether the two anomaly schedules entry are equivalent + * + * @battlecode.doc.costlymethod */ public boolean equals(AnomalyScheduleEntry other) { if (this.roundNumber != other.roundNumber) return false; diff --git a/engine/src/main/battlecode/common/AnomalyType.java b/engine/src/main/battlecode/common/AnomalyType.java index f09085be..198b941e 100644 --- a/engine/src/main/battlecode/common/AnomalyType.java +++ b/engine/src/main/battlecode/common/AnomalyType.java @@ -1,7 +1,9 @@ package battlecode.common; /** - * Holds the different anomalies in the game. + * AnomalyType enumerates the different types of anomalies in the game. + * You can also access properties about these anomalies, such as their strengths + * and whether they can be performed by Sages. */ public enum AnomalyType { ABYSS (true, true, 0.1f, 0.2f), @@ -21,4 +23,4 @@ public enum AnomalyType { this.globalPercentage = globalPercentage; this.sagePercentage = sagePercentage; } -} \ No newline at end of file +} diff --git a/engine/src/main/battlecode/common/BodyInfo.java b/engine/src/main/battlecode/common/BodyInfo.java deleted file mode 100644 index b8f008f4..00000000 --- a/engine/src/main/battlecode/common/BodyInfo.java +++ /dev/null @@ -1,28 +0,0 @@ -package battlecode.common; - -/** - * Stores information about a Object/Body in the game world - */ -public interface BodyInfo { - - /** - * Returns the ID of this body. - * - * @return the ID of this body. - */ - int getID(); - - /** - * Returns the center location of this body. - * - * @return the center location of this body. - */ - MapLocation getLocation(); - - /** - * Returns whether this body is a robot. - * - * @return true if this body is a robot; false otherwise. - */ - boolean isRobot(); -} diff --git a/engine/src/main/battlecode/common/GameConstants.java b/engine/src/main/battlecode/common/GameConstants.java index c351ed30..22a369f6 100644 --- a/engine/src/main/battlecode/common/GameConstants.java +++ b/engine/src/main/battlecode/common/GameConstants.java @@ -74,7 +74,7 @@ public class GameConstants { // ****** COOLDOWNS **************** // ********************************* - /** If the number of cooldown turns is >= this number, a robot cannot act. */ + /** If the amount of cooldown is at least this value, a robot cannot act. */ public static final int COOLDOWN_LIMIT = 10; /** The number of cooldown turns reduced per turn. */ diff --git a/engine/src/main/battlecode/common/RobotController.java b/engine/src/main/battlecode/common/RobotController.java index 086da698..df93ba23 100644 --- a/engine/src/main/battlecode/common/RobotController.java +++ b/engine/src/main/battlecode/common/RobotController.java @@ -66,6 +66,7 @@ public strictfp interface RobotController { /** * Returns the amount of lead a team has in its reserves. * + * @param team the team being queried. * @return the amount of lead a team has in its reserves. * * @battlecode.doc.costlymethod @@ -75,6 +76,7 @@ public strictfp interface RobotController { /** * Returns the amount of gold a team has in its reserves. * + * @param team the team being queried. * @return the amount of gold a team has in its reserves. * * @battlecode.doc.costlymethod @@ -346,6 +348,7 @@ public strictfp interface RobotController { * @param center the given location * @param radiusSquared return locations within this distance away from center * @return list of locations on the map and within radiusSquared of center + * @throws GameActionException if the radius is negative * * @battlecode.doc.costlymethod */ @@ -504,6 +507,7 @@ public strictfp interface RobotController { /** * Attack a given location. * + * @param loc the target location to attack * @throws GameActionException if conditions for attacking are not satisfied * * @battlecode.doc.costlymethod @@ -519,6 +523,7 @@ public strictfp interface RobotController { * * Checks that the robot is a sage, and there are no cooldown turns remaining. * + * @param anomaly the type of anomaly being queried * @return whether it is possible to envision an anomaly centered at the robots location * * @battlecode.doc.costlymethod @@ -528,6 +533,7 @@ public strictfp interface RobotController { /** * Envision an anomaly centered at the robot's location. * + * @param anomaly the type of anomaly to envision * @throws GameActionException if conditions for envisioning are not satisfied * * @battlecode.doc.costlymethod @@ -556,6 +562,7 @@ public strictfp interface RobotController { /** * Repairs at a given location. * + * @param loc target location to repair at * @throws GameActionException if conditions for repairing are not satisfied * * @battlecode.doc.costlymethod @@ -584,6 +591,7 @@ public strictfp interface RobotController { /** * Mine lead at a given location. * + * @param loc target location to mine * @throws GameActionException if conditions for mining are not satisfied * * @battlecode.doc.costlymethod @@ -608,6 +616,7 @@ public strictfp interface RobotController { /** * Mine a gold at given location. * + * @param loc target location to mine * @throws GameActionException if conditions for mining are not satisfied * * @battlecode.doc.costlymethod @@ -636,6 +645,7 @@ public strictfp interface RobotController { /** * Mutate a building at a given location. * + * @param loc target location of the building to mutate * @throws GameActionException if conditions for mutating are not satisfied * * @battlecode.doc.costlymethod @@ -707,7 +717,7 @@ public strictfp interface RobotController { * * @param index the index in the team's shared array, 0-indexed * @return the value at that index in the team's shared array, - * or -1 if the index is invalid + * @throws GameActionException if the index is invalid * * @battlecode.doc.costlymethod */ @@ -719,6 +729,8 @@ public strictfp interface RobotController { * * @param index the index in the team's shared array, 0-indexed * @param value the value to set that index to + * @throws GameActionException if the index is invalid, or the value + * is out of bounds * * @battlecode.doc.costlymethod */ diff --git a/engine/src/main/battlecode/common/RobotType.java b/engine/src/main/battlecode/common/RobotType.java index e6582108..2c80e08d 100644 --- a/engine/src/main/battlecode/common/RobotType.java +++ b/engine/src/main/battlecode/common/RobotType.java @@ -12,46 +12,54 @@ public enum RobotType { * Archons are portable buildings that heal and generate robots. * Losing all archons means losing the game. * - * @battlecode.doc.robot */ + * @battlecode.doc.robottype */ ARCHON ( 0, 250, 10, 24, 1000, -2, 20, 34, 20000), // BCL BCG AC MC HP DMG AR VR BL /** - * Alchemist's laboratory - * Converts lead into gold + * Alchemist's laboratory. + * Converts lead into gold. * - * @battlecode.doc.robot */ + * @battlecode.doc.robottype */ LABORATORY (800, 0, 10, 24, 100, 0, 0, 53, 5000), // BCL BCG AC MC HP DMG AR VR BL /** - * Guard turret - */ + * Guard turret. + * + * @battlecode.doc.robottype */ WATCHTOWER (180, 0, 10, 24, 130, 5, 20, 34, 10000), // BCL BCG AC MC HP DMG AR VR BL /** + * Miner robots. * Can mine gold or lead at their or an adjacent location. * - * @battlecode.doc.robot */ + * @battlecode.doc.robottype */ MINER ( 50, 0, 2, 20, 40, 0, 2, 20, 7500), // BCL BCG AC MC HP DMG AR VR BL + /** + * Builder robots. * Can build and repair buildings. * - * @battlecode.doc.robot */ + * @battlecode.doc.robottype */ BUILDER ( 40, 0, 10, 20, 30, -1, 5, 20, 7500), // BCL BCG AC MC HP DMG AR VR BL - + /** + * Soldier robots. * Ranged attacking robot. - */ + * + * @battlecode.doc.robottype */ SOLDIER ( 75, 0, 10, 16, 50, 3, 13, 20, 10000), // BCL BCG AC MC HP DMG AR VR BL - + /** + * Sage robots. * Gold robot, causes Anomalies. - */ + * + * @battlecode.doc.robottype */ SAGE ( 0, 50, 200, 25, 100, 45, 13, 20, 10000) // BCL BCG AC MC HP DMG AR VR BL ; @@ -119,6 +127,8 @@ public int getVisionRadiusSquared(int level) { /** * @param builtType type of robot being built * @return whether this type can build the given robot type + * + * @battlecode.doc.costlymethod */ public boolean canBuild(RobotType builtType) { return (this == ARCHON && (builtType == MINER || @@ -131,6 +141,8 @@ public boolean canBuild(RobotType builtType) { /** * @return whether this type can attack + * + * @battlecode.doc.costlymethod */ public boolean canAttack() { return (this == WATCHTOWER @@ -139,6 +151,8 @@ public boolean canAttack() { /** * @return whether this type can envision anomalies + * + * @battlecode.doc.costlymethod */ public boolean canEnvision() { return this == SAGE; @@ -147,6 +161,8 @@ public boolean canEnvision() { /** * @param repairedType type of robot being repaired * @return whether this type can repair the given robot type + * + * @battlecode.doc.costlymethod */ public boolean canRepair(RobotType repairedType) { return ((this == ARCHON && !repairedType.isBuilding()) || @@ -155,6 +171,8 @@ public boolean canRepair(RobotType repairedType) { /** * @return whether this type can mine + * + * @battlecode.doc.costlymethod */ public boolean canMine() { return this == MINER; @@ -163,6 +181,8 @@ public boolean canMine() { /** * @param mutatedType type of robot being mutated * @return whether this type can mutate buildings + * + * @battlecode.doc.costlymethod */ public boolean canMutate(RobotType mutatedType) { return this == BUILDER && mutatedType.isBuilding(); @@ -170,6 +190,8 @@ public boolean canMutate(RobotType mutatedType) { /** * @return whether this type can transmute lead into gold + * + * @battlecode.doc.costlymethod */ public boolean canTransmute() { return this == LABORATORY; @@ -177,6 +199,8 @@ public boolean canTransmute() { /** * @return whether or not a given robot is a building + * + * @battlecode.doc.costlymethod */ public boolean isBuilding() { return ( @@ -190,6 +214,8 @@ public boolean isBuilding() { * Returns the max health of a robot by level. * @param level of the robot * @return the max health of a robot by level + * + * @battlecode.doc.costlymethod */ public int getMaxHealth(int level) { if (!this.isBuilding() || level == 1) { @@ -204,9 +230,11 @@ public int getMaxHealth(int level) { } /** - * Returns the damage of a robot by level. - * @param level + * Determine the damage power of a robot by level. + * @param level The specific level of the robot. * @return the damage for a robot by level, negative if robot heals + * + * @battlecode.doc.costlymethod */ public int getDamage(int level) { if (!this.isBuilding() || level == 1) { @@ -221,9 +249,12 @@ public int getDamage(int level) { } /** - * @param level + * Determine the healing power of a robot by level. + * @param level The specific level of the robot. * @return the healing per turn for a robot by level as a positive amount, * 0 if robot doesn't heal + * + * @battlecode.doc.costlymethod */ public int getHealing(int level) { if (this == ARCHON || this == BUILDER) { @@ -238,6 +269,8 @@ public int getHealing(int level) { /** * @param level the level to mutate to * @return lead component of cost to mutate + * + * @battlecode.doc.costlymethod */ public int getLeadMutateCost(int level) { return level == 2 ? 600 : 0; @@ -246,6 +279,8 @@ public int getLeadMutateCost(int level) { /** * @param level the level to mutate to * @return gold component of cost to mutate. + * + * @battlecode.doc.costlymethod */ public int getGoldMutateCost(int level) { return level == 3 ? 100 : 0; @@ -254,6 +289,8 @@ public int getGoldMutateCost(int level) { /** * @param level the robot's current level * @return lead component of worth + * + * @battlecode.doc.costlymethod */ public int getLeadWorth(int level) { int leadWorth = this.buildCostLead; @@ -266,6 +303,8 @@ public int getLeadWorth(int level) { /** * @param level the robot's current level * @return gold component of worth + * + * @battlecode.doc.costlymethod */ public int getGoldWorth(int level) { int goldWorth = this.buildCostGold; @@ -278,6 +317,8 @@ public int getGoldWorth(int level) { /** * @param level the robot's current level * @return the amount of lead dropped + * + * @battlecode.doc.costlymethod */ public int getLeadDropped(int level) { return (int) (this.getLeadWorth(level) * GameConstants.RECLAIM_COST_MULTIPLIER); @@ -286,6 +327,8 @@ public int getLeadDropped(int level) { /** * @param level the robot's current level * @return the amount of gold dropped + * + * @battlecode.doc.costlymethod */ public int getGoldDropped(int level) { return (int) (this.getGoldWorth(level) * GameConstants.RECLAIM_COST_MULTIPLIER); diff --git a/engine/src/main/battlecode/instrumenter/bytecode/resources/MethodCosts.txt b/engine/src/main/battlecode/instrumenter/bytecode/resources/MethodCosts.txt index df2611d9..74c6406b 100644 --- a/engine/src/main/battlecode/instrumenter/bytecode/resources/MethodCosts.txt +++ b/engine/src/main/battlecode/instrumenter/bytecode/resources/MethodCosts.txt @@ -1,72 +1,110 @@ -battlecode/common/Clock/yield 0 true -battlecode/common/Clock/getBytecodesLeft 0 true -battlecode/common/Clock/getBytecodeNum 0 true -battlecode/common/Direction/equals 1 false -battlecode/common/Direction/getDeltaX 1 false -battlecode/common/Direction/getDeltaY 1 false -battlecode/common/Direction/rotateLeft 1 false -battlecode/common/Direction/rotateRight 1 false -battlecode/common/Direction/opposite 1 false -battlecode/common/Direction/allDirections 1 false -battlecode/common/Direction/cardinalDirections 1 false -battlecode/common/MapLocation/add 2 false -battlecode/common/MapLocation/compareTo 2 false -battlecode/common/MapLocation/directionTo 2 false -battlecode/common/MapLocation/distanceSquaredTo 2 false -battlecode/common/MapLocation/equals 2 false -battlecode/common/MapLocation/hashCode 2 false -battlecode/common/MapLocation/isWithinDistanceSquared 2 false -battlecode/common/MapLocation/isAdjacentTo 2 false -battlecode/common/MapLocation/isWithinSensorRadius 2 false -battlecode/common/MapLocation/subtract 2 false -battlecode/common/MapLocation/toString 2 false -battlecode/common/MapLocation/translate 2 false -battlecode/common/MapLocation/valueOf 25 false -battlecode/common/RobotController/adjacentLocation 1 true -battlecode/common/RobotController/bid 1 true -battlecode/common/RobotController/buildRobot 0 true -battlecode/common/RobotController/canBid 10 true -battlecode/common/RobotController/canBuildRobot 10 true -battlecode/common/RobotController/canDetectLocation 5 true -battlecode/common/RobotController/canDetectRadiusSquared 5 true -battlecode/common/RobotController/canEmpower 10 true -battlecode/common/RobotController/canExpose 10 true -battlecode/common/RobotController/canGetFlag 5 true -battlecode/common/RobotController/canMove 10 true -battlecode/common/RobotController/canSenseLocation 5 true -battlecode/common/RobotController/canSenseRadiusSquared 5 true -battlecode/common/RobotController/canSenseRobot 5 true -battlecode/common/RobotController/detectNearbyRobots 100 true -battlecode/common/RobotController/empower 0 true -battlecode/common/RobotController/expose 0 true -battlecode/common/RobotController/getConviction 1 true -battlecode/common/RobotController/getCooldownTurns 1 true -battlecode/common/RobotController/getEmpowerFactor 1 true -battlecode/common/RobotController/getFlag 5 true -battlecode/common/RobotController/getID 1 true -battlecode/common/RobotController/getInfluence 1 true -battlecode/common/RobotController/getLocation 1 true -battlecode/common/RobotController/getRobotCount 20 true -battlecode/common/RobotController/getRoundNum 1 true -battlecode/common/RobotController/getTeam 1 true -battlecode/common/RobotController/getTeamVotes 1 true -battlecode/common/RobotController/getType 1 true -battlecode/common/RobotController/isLocationOccupied 20 true -battlecode/common/RobotController/isReady 1 true -battlecode/common/RobotController/move 0 true -battlecode/common/RobotController/onTheMap 5 true -battlecode/common/RobotController/resign 0 true -battlecode/common/RobotController/senseNearbyRobots 100 true -battlecode/common/RobotController/sensePassability 1 true -battlecode/common/RobotController/senseRobot 25 true -battlecode/common/RobotController/senseRobotAtLocation 25 true -battlecode/common/RobotController/setFlag 100 true -battlecode/common/RobotController/setIndicatorDot 0 true -battlecode/common/RobotController/setIndicatorLine 0 true -battlecode/common/RobotType/getInfluenceCostForConviction 1 false -battlecode/common/RobotType/getPassiveInfluence 1 false -battlecode/common/Team/opponent 1 false -battlecode/common/Team/isPlayer 1 false +battlecode/common/AnomalyScheduleEntry/equals 2 false +battlecode/common/Clock/yield 0 true +battlecode/common/Clock/getBytecodesLeft 0 false +battlecode/common/Clock/getBytecodeNum 0 false +battlecode/common/Direction/equals 1 false +battlecode/common/Direction/getDeltaX 1 false +battlecode/common/Direction/getDeltaY 1 false +battlecode/common/Direction/rotateLeft 1 false +battlecode/common/Direction/rotateRight 1 false +battlecode/common/Direction/opposite 1 false +battlecode/common/Direction/allDirections 1 false +battlecode/common/Direction/cardinalDirections 1 false +battlecode/common/MapLocation/add 2 false +battlecode/common/MapLocation/compareTo 2 false +battlecode/common/MapLocation/directionTo 2 false +battlecode/common/MapLocation/distanceSquaredTo 2 false +battlecode/common/MapLocation/equals 2 false +battlecode/common/MapLocation/hashCode 2 false +battlecode/common/MapLocation/isWithinDistanceSquared 2 false +battlecode/common/MapLocation/isAdjacentTo 2 false +battlecode/common/MapLocation/isWithinSensorRadius 2 false +battlecode/common/MapLocation/subtract 2 false +battlecode/common/MapLocation/toString 2 false +battlecode/common/MapLocation/translate 2 false +battlecode/common/MapLocation/valueOf 25 false +battlecode/common/RobotController/adjacentLocation 1 true +battlecode/common/RobotController/attack 0 true +battlecode/common/RobotController/buildRobot 0 true +battlecode/common/RobotController/canAttack 10 true +battlecode/common/RobotController/canBuildRobot 10 true +battlecode/common/RobotController/canEnvision 10 true +battlecode/common/RobotController/canMineGold 10 true +battlecode/common/RobotController/canMineLead 10 true +battlecode/common/RobotController/canMove 10 true +battlecode/common/RobotController/canMutate 10 true +battlecode/common/RobotController/canRepair 10 true +battlecode/common/RobotController/canSenseLocation 5 true +battlecode/common/RobotController/canSenseRadiusSquared 5 true +battlecode/common/RobotController/canSenseRobot 5 true +battlecode/common/RobotController/canSenseRobotAtLocation 5 true +battlecode/common/RobotController/canTransform 10 true +battlecode/common/RobotController/canTransmute 10 true +battlecode/common/RobotController/disintegrate 0 true +battlecode/common/RobotController/envision 0 true +battlecode/common/RobotController/getActionCooldownTurns 1 true +battlecode/common/RobotController/getAllLocationsWithinRadiusSquared 100 true +battlecode/common/RobotController/getAnomalySchedule 100 true +battlecode/common/RobotController/getArchonCount 20 true +battlecode/common/RobotController/getHealth 1 true +battlecode/common/RobotController/getID 1 true +battlecode/common/RobotController/getLevel 1 true +battlecode/common/RobotController/getLocation 1 true +battlecode/common/RobotController/getMapHeight 1 true +battlecode/common/RobotController/getMapWidth 1 true +battlecode/common/RobotController/getMode 1 true +battlecode/common/RobotController/getMovementCooldownTurns 1 true +battlecode/common/RobotController/getRobotCount 20 true +battlecode/common/RobotController/getRoundNum 1 true +battlecode/common/RobotController/getTeam 1 true +battlecode/common/RobotController/getTeamGoldAmount 1 true +battlecode/common/RobotController/getTeamLeadAmount 1 true +battlecode/common/RobotController/getTransformCooldownTurns 1 true +battlecode/common/RobotController/getTransmutationRate 20 true +battlecode/common/RobotController/getType 1 true +battlecode/common/RobotController/isActionReady 1 true +battlecode/common/RobotController/isLocationOccupied 20 true +battlecode/common/RobotController/isMovementReady 1 true +battlecode/common/RobotController/isTransformReady 1 true +battlecode/common/RobotController/mineGold 0 true +battlecode/common/RobotController/mineLead 0 true +battlecode/common/RobotController/move 0 true +battlecode/common/RobotController/mutate 0 true +battlecode/common/RobotController/onTheMap 5 true +battlecode/common/RobotController/readSharedArray 2 true +battlecode/common/RobotController/repair 0 true +battlecode/common/RobotController/resign 0 true +battlecode/common/RobotController/senseGold 5 true +battlecode/common/RobotController/senseLead 5 true +battlecode/common/RobotController/senseNearbyRobots 100 true +battlecode/common/RobotController/senseRobot 25 true +battlecode/common/RobotController/senseRobotAtLocation 25 true +battlecode/common/RobotController/senseRubble 5 true +battlecode/common/RobotController/setIndicatorDot 0 true +battlecode/common/RobotController/setIndicatorLine 0 true +battlecode/common/RobotController/setIndicatorString 0 true +battlecode/common/RobotController/transform 0 true +battlecode/common/RobotController/transmute 0 true +battlecode/common/RobotController/writeSharedArray 100 true +battlecode/common/RobotType/canAttack 1 false +battlecode/common/RobotType/canBuild 1 false +battlecode/common/RobotType/canEnvision 1 false +battlecode/common/RobotType/canMine 1 false +battlecode/common/RobotType/canMutate 1 false +battlecode/common/RobotType/canRepair 1 false +battlecode/common/RobotType/canTransmute 1 false +battlecode/common/RobotType/getDamage 1 false +battlecode/common/RobotType/getGoldDropped 1 false +battlecode/common/RobotType/getGoldMutateCost 1 false +battlecode/common/RobotType/getGoldWorth 1 false +battlecode/common/RobotType/getHealing 1 false +battlecode/common/RobotType/getLeadDropped 1 false +battlecode/common/RobotType/getLeadMutateCost 1 false +battlecode/common/RobotType/getLeadWorth 1 false +battlecode/common/RobotType/getMaxHealth 1 false +battlecode/common/RobotType/isBuilding 1 false +battlecode/common/Team/opponent 1 false +battlecode/common/Team/isPlayer 1 false java/lang/Math/IEEEremainder 1 false java/lang/Math/abs 1 false java/lang/Math/acos 1 false diff --git a/gradle.properties b/gradle.properties index 3d94d4be..77abe11d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,4 +5,4 @@ maps=maptestsmall profilerEnabled=false source=src mapLocation=maps -release_version=2022.0.0.0 +release_version=2022.0.0.1