granatier
ArenaItem Class Reference
#include <arenaitem.h>
Inheritance diagram for ArenaItem:
Public Slots | |
virtual void | updateGraphics (qreal svgScaleFactor) |
Public Member Functions | |
ArenaItem (qreal p_x, qreal p_y, KGameRenderer *renderer, const QString &spriteKey) | |
~ArenaItem () | |
Detailed Description
This class is the graphical view of the Arena.
Definition at line 30 of file arenaitem.h.
Constructor & Destructor Documentation
ArenaItem::ArenaItem | ( | qreal | p_x, |
qreal | p_y, | ||
KGameRenderer * | renderer, | ||
const QString & | spriteKey | ||
) |
Creates a new ArenaItem instances.
- Parameters
-
p_x the x-coordinate p_y the y-coordinate renderer the KGameRenderer spriteKey the spriteKey for the ArenaItem
Definition at line 26 of file arenaitem.cpp.
ArenaItem::~ArenaItem | ( | ) |
Deletes the ArenaItem instances.
Definition at line 32 of file arenaitem.cpp.
Member Function Documentation
|
virtualslot |
Updates the graphics after a resize.
- Parameters
-
svgScaleFactor the scaling factor between svg and rendered pixmap
Definition at line 36 of file arenaitem.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:43:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:43:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.