Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F133681
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
611 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/card.h b/card.h
index 4fd2c49..5c490aa 100644
--- a/card.h
+++ b/card.h
@@ -1,14 +1,19 @@
#ifndef CARD_H
#define CARD_H
class Card
{
public:
Card();
+ int id;
int elementNumber;
- int type;
int amount;
+ enum type {
+ ADD,
+ REMOVE,
+ STOP
+ };
};
#endif // CARD_H
diff --git a/pile.h b/pile.h
index 224896c..d0163e8 100644
--- a/pile.h
+++ b/pile.h
@@ -1,11 +1,13 @@
#ifndef PILE_H
#define PILE_H
class Pile
{
public:
Pile();
+ int elementNumber;
+
};
-#endif // PILE_H
\ No newline at end of file
+#endif // PILE_H
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Tue, Jun 16, 8:28 PM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
71651
Default Alt Text
(611 B)
Attached To
Mode
R82 deerportal
Attached
Detach File
Event Timeline