equal
deleted
inserted
replaced
18 |
18 |
19 #include "hedgehogerWidget.h" |
19 #include "hedgehogerWidget.h" |
20 |
20 |
21 #include "frameTeam.h" |
21 #include "frameTeam.h" |
22 |
22 |
23 CHedgehogerWidget::CHedgehogerWidget(const QImage& im, QWidget * parent) : |
23 CHedgehogerWidget::CHedgehogerWidget(const QImage& im, const QImage& img, QWidget * parent) : |
24 ItemNum(im, parent, 1) |
24 ItemNum(im, img, parent, 1) |
25 { |
25 { |
26 // TODO: maxHedgehogsPerGame doesn't reset properly and won't match map limits for now |
26 // TODO: maxHedgehogsPerGame doesn't reset properly and won't match map limits for now |
27 /*if(parent) { |
27 /*if(parent) { |
28 pOurFrameTeams = dynamic_cast<FrameTeams*>(parent->parentWidget()); |
28 pOurFrameTeams = dynamic_cast<FrameTeams*>(parent->parentWidget()); |
29 } |
29 } |