/****************************************************************************
** Meta object code from reading C++ file 'game.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.4)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../src/granatier-17.12.3/src/game.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'game.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_Game_t {
    QByteArrayData data[32];
    char stringdata0[348];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Game_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Game_t qt_meta_stringdata_Game = {
    {
QT_MOC_LITERAL(0, 0, 4), // "Game"
QT_MOC_LITERAL(1, 5, 11), // "gameStarted"
QT_MOC_LITERAL(2, 17, 0), // ""
QT_MOC_LITERAL(3, 18, 8), // "gameOver"
QT_MOC_LITERAL(4, 27, 12), // "pauseChanged"
QT_MOC_LITERAL(5, 40, 7), // "p_pause"
QT_MOC_LITERAL(6, 48, 10), // "p_fromUser"
QT_MOC_LITERAL(7, 59, 11), // "bombCreated"
QT_MOC_LITERAL(8, 71, 5), // "Bomb*"
QT_MOC_LITERAL(9, 77, 4), // "bomb"
QT_MOC_LITERAL(10, 82, 11), // "bombRemoved"
QT_MOC_LITERAL(11, 94, 11), // "infoChanged"
QT_MOC_LITERAL(12, 106, 21), // "Granatier::Info::Type"
QT_MOC_LITERAL(13, 128, 6), // "p_info"
QT_MOC_LITERAL(14, 135, 13), // "keyPressEvent"
QT_MOC_LITERAL(15, 149, 10), // "QKeyEvent*"
QT_MOC_LITERAL(16, 160, 7), // "p_event"
QT_MOC_LITERAL(17, 168, 15), // "keyReleaseEvent"
QT_MOC_LITERAL(18, 184, 16), // "setRoundFinished"
QT_MOC_LITERAL(19, 201, 10), // "createBomb"
QT_MOC_LITERAL(20, 212, 7), // "Player*"
QT_MOC_LITERAL(21, 220, 6), // "player"
QT_MOC_LITERAL(22, 227, 1), // "x"
QT_MOC_LITERAL(23, 229, 1), // "y"
QT_MOC_LITERAL(24, 231, 7), // "newBomb"
QT_MOC_LITERAL(25, 239, 13), // "throwDistance"
QT_MOC_LITERAL(26, 253, 6), // "update"
QT_MOC_LITERAL(27, 260, 13), // "playerFalling"
QT_MOC_LITERAL(28, 274, 11), // "playerDeath"
QT_MOC_LITERAL(29, 286, 19), // "resurrectBonusTaken"
QT_MOC_LITERAL(30, 306, 13), // "bombDetonated"
QT_MOC_LITERAL(31, 320, 27) // "decrementRemainingRoundTime"

    },
    "Game\0gameStarted\0\0gameOver\0pauseChanged\0"
    "p_pause\0p_fromUser\0bombCreated\0Bomb*\0"
    "bomb\0bombRemoved\0infoChanged\0"
    "Granatier::Info::Type\0p_info\0keyPressEvent\0"
    "QKeyEvent*\0p_event\0keyReleaseEvent\0"
    "setRoundFinished\0createBomb\0Player*\0"
    "player\0x\0y\0newBomb\0throwDistance\0"
    "update\0playerFalling\0playerDeath\0"
    "resurrectBonusTaken\0bombDetonated\0"
    "decrementRemainingRoundTime"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Game[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      16,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   94,    2, 0x06 /* Public */,
       3,    0,   95,    2, 0x06 /* Public */,
       4,    2,   96,    2, 0x06 /* Public */,
       7,    1,  101,    2, 0x06 /* Public */,
      10,    1,  104,    2, 0x06 /* Public */,
      11,    1,  107,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      14,    1,  110,    2, 0x0a /* Public */,
      17,    1,  113,    2, 0x0a /* Public */,
      18,    0,  116,    2, 0x0a /* Public */,
      19,    5,  117,    2, 0x0a /* Public */,
      26,    0,  128,    2, 0x08 /* Private */,
      27,    0,  129,    2, 0x08 /* Private */,
      28,    0,  130,    2, 0x08 /* Private */,
      29,    0,  131,    2, 0x08 /* Private */,
      30,    0,  132,    2, 0x08 /* Private */,
      31,    0,  133,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool, QMetaType::Bool,    5,    6,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 12,   13,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 20, QMetaType::QReal, QMetaType::QReal, QMetaType::Bool, QMetaType::Int,   21,   22,   23,   24,   25,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Game::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Game *_t = static_cast<Game *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->gameStarted(); break;
        case 1: _t->gameOver(); break;
        case 2: _t->pauseChanged((*reinterpret_cast< const bool(*)>(_a[1])),(*reinterpret_cast< const bool(*)>(_a[2]))); break;
        case 3: _t->bombCreated((*reinterpret_cast< Bomb*(*)>(_a[1]))); break;
        case 4: _t->bombRemoved((*reinterpret_cast< Bomb*(*)>(_a[1]))); break;
        case 5: _t->infoChanged((*reinterpret_cast< const Granatier::Info::Type(*)>(_a[1]))); break;
        case 6: _t->keyPressEvent((*reinterpret_cast< QKeyEvent*(*)>(_a[1]))); break;
        case 7: _t->keyReleaseEvent((*reinterpret_cast< QKeyEvent*(*)>(_a[1]))); break;
        case 8: _t->setRoundFinished(); break;
        case 9: _t->createBomb((*reinterpret_cast< Player*(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
        case 10: _t->update(); break;
        case 11: _t->playerFalling(); break;
        case 12: _t->playerDeath(); break;
        case 13: _t->resurrectBonusTaken(); break;
        case 14: _t->bombDetonated(); break;
        case 15: _t->decrementRemainingRoundTime(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (Game::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Game::gameStarted)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Game::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Game::gameOver)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Game::*_t)(const bool , const bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Game::pauseChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Game::*_t)(Bomb * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Game::bombCreated)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Game::*_t)(Bomb * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Game::bombRemoved)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Game::*_t)(const Granatier::Info::Type );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Game::infoChanged)) {
                *result = 5;
                return;
            }
        }
    }
}

const QMetaObject Game::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Game.data,
      qt_meta_data_Game,  qt_static_metacall, nullptr, nullptr}
};


const QMetaObject *Game::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *Game::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Game.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int Game::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 16;
    }
    return _id;
}

// SIGNAL 0
void Game::gameStarted()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void Game::gameOver()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Game::pauseChanged(const bool _t1, const bool _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Game::bombCreated(Bomb * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Game::bombRemoved(Bomb * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Game::infoChanged(const Granatier::Info::Type _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
