Function screeps::game::flags

source ·
pub fn flags() -> JsHashMap<String, Flag>
Expand description

Get a JsHashMap<String, Flag> with all of your flags, which has flag names as keys.

Screeps documentation