private void OnEntityLocationChanged(object sender, EntityLocationChangedEventArgs e) { if (e.IsPlayer) { CenterTo(e.Entity.Location); } }
private void OnEntityLocationChanged(object sender, EntityLocationChangedEventArgs args) { EntityLocationChanged?.Invoke(this, args); }