Debian Codegraph @

terps/frankendrift/FrankenDrift.Adrift/clsMacro.vb

raw
1 Public Class clsMacro
2 Implements ICloneable
3
4 Public Sub New(ByVal sKey As String)
5 MyBase.New()
6 Key = sKey
7 End Sub
8
9 Private sTitle As String
10 Public Property Title() As String
11 Get
12 Return sTitle
13 End Get
14 Set(ByVal value As String)
15 ' TODO: Ensure unique for this adventure
16 sTitle = value
17 End Set
18 End Property
19
20 Private sCommands As String
21 Public Property Commands() As String
22 Get
23 Return sCommands
24 End Get
25 Set(ByVal value As String)
26 sCommands = value
27 End Set
28 End Property
29
30 Private bShared As Boolean
31 Public Property [Shared]() As Boolean
32 Get
33 Return bShared
34 End Get
35 Set(ByVal value As Boolean)
36 bShared = value
37 End Set
38 End Property
39
40 Private sIFID As String
41 Public Property IFID() As String
42 Get
43 Return sIFID
44 End Get
45 Set(ByVal value As String)
46 sIFID = value
47 End Set
48 End Property
49 Public Function Clone() As Object Implements System.ICloneable.Clone
50 Return Me.MemberwiseClone
51 End Function
52
53 Private sKey As String
54 Public Property Key() As String
55 Get
56 Return sKey
57 End Get
58 Set(ByVal value As String)
59 sKey = value
60 End Set
61 End Property
62
63 End Class