Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
ThingStack.cs
Go to the documentation of this file.
1using System.Collections.Generic;
2
3public class ThingStack : EClass
4{
5 public List<Thing> list = new List<Thing>();
6
7 public int count;
8
9 public int val;
10
11 public int max;
12
13 public void Add(Thing t)
14 {
15 list.Add(t);
16 count += t.Num;
17 if (t.Num > max)
18 {
19 max = t.Num;
20 }
21 }
22}
void Add(Act a, string s="")
Definition: ActPlan.cs:11
int Num
Definition: Card.cs:154
Definition: EClass.cs:5
void Add(Thing t)
Definition: ThingStack.cs:13
List< Thing > list
Definition: ThingStack.cs:5
int count
Definition: ThingStack.cs:7
Definition: Thing.cs:8