Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
PropSet.cs
Go to the documentation of this file.
1
using
System.Collections.Generic;
2
3
public
class
PropSet
: HashSet<Card>
4
{
5
public
int
num
;
6
7
public
new
void
Add
(
Card
c)
8
{
9
ModNum
(c.
Num
);
10
base.Add(c);
11
}
12
13
public
new
void
Remove
(
Card
c)
14
{
15
ModNum
(-c.
Num
);
16
base.Remove(c);
17
}
18
19
public
virtual
void
ModNum
(
int
a)
20
{
21
num
+= a;
22
}
23
24
public
void
OnChangeNum
(
int
a)
25
{
26
ModNum
(a);
27
}
28
}
Card
Definition:
Card.cs:11
Card.Num
int Num
Definition:
Card.cs:154
PropSet
Definition:
PropSet.cs:4
PropSet.num
int num
Definition:
PropSet.cs:5
PropSet.ModNum
virtual void ModNum(int a)
Definition:
PropSet.cs:19
PropSet.Add
new void Add(Card c)
Definition:
PropSet.cs:7
PropSet.OnChangeNum
void OnChangeNum(int a)
Definition:
PropSet.cs:24
PropSet.Remove
new void Remove(Card c)
Definition:
PropSet.cs:13
Elin
PropSet.cs
Generated by
1.9.6