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

Method get_time_left_ms

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

Get the time left at the start of this player's turn, in milliseconds.

(&self)

Source from the content-addressed store, hash-verified

209
210 /// Get the time left at the start of this player's turn, in milliseconds.
211 pub fn get_time_left_ms(&self) -> i32 {
212 self.time_left_ms.expect("only the player controller should call get_time_left_ms()")
213 }
214
215 /// Initializes the game world and creates a new controller
216 /// for a player to interact with it.

Callers 1

run.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected