X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc7995487f3032d8415f87619efac7c391c72730..02a1dfbae942c883d8651e34dcfbc5153aabc56e:/demos/forty/card.h diff --git a/demos/forty/card.h b/demos/forty/card.h index cc525a741b..aab8df9d71 100644 --- a/demos/forty/card.h +++ b/demos/forty/card.h @@ -33,13 +33,14 @@ enum Suit { clubs = 0, diamonds = 1, hearts = 2, spades = 3 }; enum SuitColour { red = 0, black = 1 }; enum WayUp { faceup, facedown }; - //--------------------------------// // A class defining a single card // //--------------------------------// class Card { - static double m_scale; - static int m_width,m_height; + friend class FortyApp; + + static double m_scale; + static int m_width,m_height; public: Card(int value, WayUp way_up = facedown);