00001 /*************************************************************************** 00002 question.h 00003 ------------------- 00004 copyright : (C) 2004 by Jos van den Oever 00005 email : jos@vandenoever.info 00006 ***************************************************************************/ 00007 00008 /*************************************************************************** 00009 * * 00010 * This program is free software; you can redistribute it and/or modify * 00011 * it under the terms of the GNU General Public License as published by * 00012 * the Free Software Foundation; either version 2 of the License, or * 00013 * (at your option) any later version. * 00014 * * 00015 ***************************************************************************/ 00016 #ifndef QUESTION_H 00017 #define QUESTION_H 00018 00019 #include "cubedecoration.h" 00020 00021 class Question { 00022 public: 00023 short shownTypes[6]; 00024 Symmetry shownSyms[6]; 00025 CubeDecoration cube; 00026 CubeDecoration answers[4]; 00027 short answer; 00028 short maximalAmountOf(short t, Symmetry s) const; 00029 bool valid; 00030 }; 00031 00032 #endif