9 public override BaseTileSelector.SelectType selectType
19 public override bool IsBuildMode
28 public override void OnDeactivate()
33 if (!card.c_editorTags.IsEmpty())
35 string[] array = card.c_editorTags.Split(
',', StringSplitOptions.None);
36 for (
int i = 0; i < array.Length; i++)
38 if (array[i].ToEnum(
true) == EditorTag.Empty)
48 public override string GetSimpleText(
Card c)
51 if (!c.c_idEditor.IsEmpty())
53 text = text +
"id:" + c.c_idEditor +
"\n";
55 if (!c.c_idTrait.IsEmpty())
57 text = text +
"trait:" + c.c_idTrait +
"\n";
59 if (!c.c_editorTraitVal.IsEmpty())
61 text = text +
"vals:" + c.c_editorTraitVal +
"\n";
63 if (!c.c_editorTags.IsEmpty())
65 text = text +
"tags:" + c.c_editorTags +
"\n";
71 public override HitResult HitTest(
Point point,
Point start)
73 Card target = this.GetTarget(point);
74 if (target !=
null && target.isPlayerCreation)
76 return HitResult.Valid;
78 return base.HitTest(point, start);
82 public override void OnProcessTiles(
Point point,
int dir)
84 Card target = this.GetTarget(point);
91 Chara firstChara = point.FirstChara;
92 if (firstChara !=
null)
96 return point.LastThing;