public ChangeOrientationEffectEditor() { var ids = Controller.Instance.IdentifierSummary.getIds <NPC>(); this.effect = new ChangeOrientationEffect(ids.FirstOrDefault(), Orientation.S); var orientations = Enum.GetValues(typeof(Orientation)); orientationValues = orientations.Cast <int>().ToArray(); orientationTexts = orientations.Cast <Orientation>().Select(s => "Orientation." + s.ToString()).ToArray(); }