game events

This commit is contained in:
Max-Wilhelm Bruker 2009-10-26 18:13:30 +01:00
parent bd2855cb95
commit 1d6923f2a2
11 changed files with 64 additions and 762 deletions

View file

@ -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()