抢车位

This commit is contained in:
w-mj committed 2017-12-25 22:39:52 +08:00
1 parent abcb2b9d87
commit 09314905b4
4 files changed
+23 -5

No files matched your search

+5
View File
@@ -303,6 +303,11 @@ void Car::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)
event->accept();
}
void Car::requestSpace()
{
emit queueHead(this);
}
int Car::getTargetFloor() const
{
return targetFloor;