tile.h 345 B

12345678910111213141516171819202122232425
  1. #ifndef TILE_H
  2. #define TILE_H
  3. enum{ EAX=1,ECX,EDX,EDI,ESI,EBX };
  4. struct Tile{
  5. int want_l,want_r,hits,argFrame;
  6. Tile( const string &a,Tile *l=0,Tile *r=0 );
  7. Tile( const string &a,const string &a2,Tile *l=0,Tile *r=0 );
  8. ~Tile();
  9. void label();
  10. int eval( int want );
  11. private:
  12. int need;
  13. Tile *l,*r;
  14. string assem,assem2;
  15. };
  16. #endif