public void UpdatePosition(object sender, RoutedEventArgs e) { template.SetParameter(firstTarget, TextboxXPosition.Text); template.SetParameter(firstTarget + 1, TextboxYPosition.Text); ent.ReloadTemplates(); ent.ReloadMovement(); GameState.Get().MainWindow.UpdateEntityView(true); }
public void Update(object sender, RoutedEventArgs e) { template.SetParameter(firstTarget, ValueBox.Text); }