granatier
bombexplosionitem.h
Go to the documentation of this file.
67 BombExplosionItem(Bomb* p_model, Granatier::Direction::Type direction, int bombPower, KGameRenderer* renderer, qreal svgScaleFactor);
BombExplosionItem(Bomb *p_model, Granatier::Direction::Type direction, int bombPower, KGameRenderer *renderer, qreal svgScaleFactor)
Creates a new BombExplosionItem instance.
Definition: bombexplosionitem.cpp:25
virtual void updateGraphics(qreal svgScaleFactor)
Updates the graphics after a resize.
Definition: bombexplosionitem.cpp:147
qreal m_svgScaleFactor
The scale factor from the svg for the pixmap.
Definition: bombexplosionitem.h:52
This class is the graphical representation of a Bomb explosion.
Definition: bombexplosionitem.h:33
QPainterPath shape() const
Overrides the default shape function to make it a small circle This function is used to determinate c...
Definition: bombexplosionitem.cpp:80
This class describes the common characteristics and behaviour of the bomb item.
Definition: bomb.h:30
virtual void setPosition(qreal p_x, qreal p_y)
Updates the BombExplosionItem coordinates.
Definition: bombexplosionitem.cpp:97
Granatier::Direction::Type m_direction
The direction of the blast.
Definition: bombexplosionitem.h:43
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.