public ZombieAnnotation(Zombie zombie) { _zombie = zombie; UpdateLocation(); _zombie.WeakSubscribe<Zombie>("Location", (s, e) => UpdateLocation()); }
public ZombieWrapper(Zombie zombie, Marker marker) { _zombie = zombie; _marker = marker; _token = _zombie.WeakSubscribe(OnLocationChanged); }