Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
InspectGroupArea.cs
Go to the documentation of this file.
1using System;
2
3public class InspectGroupArea : InspectGroup<Area>
4{
5 public override string MultiName => "Area";
6
7 public override void OnSetActions()
8 {
9 Area first = base.FirstTarget;
10 Add("expandArea", "", (Action)delegate
11 {
13 }, sound: false, 0, auto: false);
14 Add("shrinkArea", "", (Action)delegate
15 {
16 ActionMode.ExpandArea.Activate(first, _shrink: true);
17 }, sound: false, 0, auto: false);
18 Add("delete", "", (Action)delegate
19 {
20 SE.Play("trash");
22 }, sound: false, 0, auto: false);
23 }
24}
void Activate(Area a, bool _shrink=false)
static AM_ExpandArea ExpandArea
Definition: ActionMode.cs:55
Definition: Area.cs:4
Definition: EClass.cs:5
static Map _map
Definition: EClass.cs:18
override void OnSetActions()
override string MultiName
Item Add(string text, string idSprite, Action action, bool sound=false, int priority=0, bool auto=false)
RoomManager rooms
Definition: Map.cs:31
void RemoveArea(Area a)
Definition: RoomManager.cs:103