mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
game events
This commit is contained in:
parent
bd2855cb95
commit
1d6923f2a2
11 changed files with 64 additions and 762 deletions
|
|
@ -2,7 +2,7 @@
|
|||
#include <QDebug>
|
||||
#include "widget.h"
|
||||
#include "protocol.h"
|
||||
#include "protocol_commands.h"
|
||||
#include "protocol_items.h"
|
||||
|
||||
Widget::Widget()
|
||||
: QMainWindow()
|
||||
|
|
@ -49,6 +49,9 @@ void Widget::startClicked()
|
|||
|
||||
ProtocolResponse *test4 = new ProtocolResponse(123, ProtocolResponse::RespContextError);
|
||||
test4->write(xmlWriter);
|
||||
|
||||
GameEvent *test5 = new Event_RollDie(1234, true, 1, 20, 13);
|
||||
test5->write(xmlWriter);
|
||||
}
|
||||
|
||||
bool Widget::readCurrentCommand()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue