kapman
kapmanitem.cpp
Go to the documentation of this file.
102 // The maze and the points labels have a negative zValue which allows to exclude them from the treatment of collisions
void setInterval(int msec)
virtual void update(qreal p_x, qreal p_y)
Updates the ElementItem coordinates.
Definition: elementitem.cpp:45
void setFrameRange(int startFrame, int endFrame)
void setDuration(int duration)
void setPaused(bool paused)
void setLoopCount(int count)
QList< QGraphicsItem * > collidingItems(Qt::ItemSelectionMode mode) const
int size() const
void setCurveShape(CurveShape shape)
This class is the graphical representation of a Character.
Definition: characteritem.h:29
qreal zValue() const
QTransform & translate(qreal dx, qreal dy)
virtual QRectF boundingRect() const
virtual void doActionOnCollision(Kapman *p_kapman)
Computes an action on a collision with the Kapman.
Definition: element.cpp:28
void setFrame(const int p_frame)
Sets the given frame to the KapmanItem.
Definition: kapmanitem.cpp:145
This class is the graphical representation of a game Element.
Definition: elementitem.h:28
void stop()
void updateDirection()
Rotates the image function of the Kapman direction.
Definition: kapmanitem.cpp:68
QTransform & rotate(qreal angle, Qt::Axis axis)
void setElementId(const QString &id)
QTransform transform() const
void setTransform(const QTransform &matrix, bool combine)
void stop()
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void start()
State state() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:15 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:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.