Skip to content

Commit 4d2cff4

Browse files
committed
remove some game constants, change cat max bytecode
1 parent 6181e48 commit 4d2cff4

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

engine/src/main/battlecode/common/GameConstants.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,6 @@ public class GameConstants {
133133
/** The maximum distance from a robot for building traps or dirt */
134134
public static final int BUILD_DISTANCE_SQUARED = 2;
135135

136-
/** The maximum squared radius a robot can send a message to */
137-
public static final int MESSAGE_RADIUS_SQUARED = 20; // TODO need to spec messages as a whole!
138-
139-
/** The maxmimum squared radius a tower can broadcast a message */
140-
public static final int BROADCAST_RADIUS_SQUARED = 80; // TODO need to spec messages as a whole!
141-
142136
/** The maximum number of rounds a message will exist for */
143137
public static final int MESSAGE_ROUND_DURATION = 5; // TODO need to spec messages as a whole!
144138

engine/src/main/battlecode/common/UnitType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ public enum UnitType {
44
// health, size, speed, visionRadius, actionCooldown
55
BABY_RAT(100, 1, 20, 90, 10, 10, 10000),
66
RAT_KING(500, 3, 25, 360, 10, 40, 20000),
7-
CAT(10_000, 2, 30, 180, 15, 10, 10);
7+
CAT(10_000, 2, 30, 180, 15, 10, 10000);
88

99
// amount of health robot initially starts with
1010
public final int health;

0 commit comments

Comments
 (0)