bool Navaid::At(Plane &plane) { int x, y; plane.GetPosition(x, y); if (( x == position.x || y == position.y) && plane.ClearedToLand()) { plane.SetClearedToLand(false); plane.SetHeading(heading); plane.SetAltitude(0); return true; } return false; }