//! Route bonuses that can increase revenue.
usen18map::HexAddress;/// The different types of route bonus that may be applied.
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]pubenumBonus{/// A bonus for visiting a specific location.
VisitBonus { locn: HexAddress, bonus:usize},/// A bonus for connecting one location to another location.
ConnectionBonus {
from: HexAddress,
to_any:Vec<HexAddress>,
bonus:usize,},}