00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __IMPUESTO5__
00020 #define __IMPUESTO5__
00021
00022 #include "impuesto.h"
00023
00024 class impuesto5 : public impuesto {
00025
00026 private:
00027
00028
00029 int _tpc;
00030
00031 public:
00032
00033
00034 impuesto5 ();
00035
00036
00037 impuesto5 ( int numero, string nombre, string nombreCorto, int cantidad, int tpc );
00038
00039
00040 impuesto5 (const impuesto5& right);
00041
00042
00043 impuesto5& operator= (const impuesto5& right);
00044
00045
00046 ~impuesto5 ();
00047
00048
00049 int get_tpc () const;
00050
00051
00052 void set_tpc ( int tpc );
00053
00067 string mostrar ();
00068
00075 int accion ( jugador *player );
00076
00082 string dibujarCasillaHorizontal ( int fila, int anchoCasilla );
00083
00089 string dibujarCasillaVertical ( int fila, int anchoCasilla );
00090
00100 string dibujarCasillaEnTablero ();
00101
00106 string leyendaCasilla ( int num, int nombreCorto, int tipo, int nombre, int estado );
00107
00108 };
00109
00110 inline int impuesto5::get_tpc () const
00111 {
00112 return _tpc;
00113 }
00114
00115 inline void impuesto5::set_tpc ( int tpc )
00116 {
00117 _tpc = tpc;
00118 }
00119
00120 #endif