Sin descripción

block.h 333B

1234567891011121314151617181920
  1. #ifndef BLOCK_H
  2. #define BLOCK_H
  3. #include <QObject>
  4. class Block
  5. {
  6. public:
  7. Block();
  8. Block(uint16_t);
  9. Block(const Block&);
  10. bool operator ==(Block);
  11. bool operator !=(Block);
  12. uint16_t tile:10;
  13. uint16_t collision:2;
  14. uint16_t elevation:4;
  15. uint16_t rawValue();
  16. };
  17. #endif // BLOCK_H