MCPcopy Index your code
hub / github.com/battlecode/battlecode-2018 / units

Method units

battlecode-engine/src/controller/mod.rs:307–309  ·  view source on GitHub ↗

All the units within the vision range, in no particular order. Does not include units in space.

(&self)

Source from the content-addressed store, hash-verified

305 /// All the units within the vision range, in no particular order.
306 /// Does not include units in space.
307 pub fn units(&self) -> Vec<Unit> {
308 self.world.units()
309 }
310
311 /// All the units on your team.
312 /// Does not include units in space.

Callers 1

my_unitsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected