The OpenD Programming Language

Action.this

class Action
this
(
string label
,
ushort icon = 0
,
void delegate
()
triggered = null
)

Parameters

label string

the textual label

icon ushort

icon ID. See GenericIcons. There is currently no way to do custom icons.

triggered void delegate
()

initial handler, more can be added via the triggered member.

Meta