Skip to main content

check_of_look

Function check_of_look 

Source
pub(crate) fn check_of_look(latest: &Look, of: i64) -> Result<(), String>
Expand description

Whether coordinates the agent says come from look of can be used: they can when of is the window’s latest look. Otherwise the answer says which look is the latest, and whether its size differs from the one the coordinates came from, so the agent knows they are stale.