MCPcopy Create free account
hub / github.com/SimHacker/micropolis / getFire

Method getFire

micropolis-java/src/micropolisj/engine/CityEval.java:209–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

207 }
208
209 int getFire()
210 {
211 int z = engine.firePop * 5;
212 return Math.min(255, z);
213 }
214
215 static double clamp(double x, double min, double max)
216 {

Callers 2

doProblemsMethod · 0.95
calculateScoreMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected