Page MenuHomePhabricator (Chris)

No OneTemporary

Authored By
Unknown
Size
611 B
Referenced Files
None
Subscribers
None
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

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)

Event Timeline