If there's multiple structs with the same method, the method should be prefixed with the struct
name. In this case, an alias can be added to the method using use fun.
public fun value(h: &Hero): u64 { h.value }
public use fun hero_health as Hero.health;
public fun hero_health(h: &Hero): u64 { h.another_value }
public use fun boar_health as Boar.health;
public fun boar_health(b: &Boar): u64 { b.another_value }