kapman
ghostitem.cpp
Go to the documentation of this file.
27 int startBlinkingTimerDuration = (int)(Game::s_preyStateDuration*Game::s_durationRatio - 5*blinkTimerDuration);
void setInterval(int msec)
qreal x() const
qreal y() const
Definition: ghost.h:39
Definition: ghost.h:38
This class is the graphical representation of a Character.
Definition: characteritem.h:29
virtual QRectF boundingRect() const
void setPos(const QPointF &pos)
Definition: ghost.h:37
static int s_preyStateDuration
Timer duration for prey state in medium difficulty.
Definition: game.h:44
static qreal s_durationRatio
Ratio which modify the timers function of the difficulty.
Definition: game.h:41
void stop()
void updateBlinkTimersDuration()
Ensures the blink timers are correctly set.
Definition: ghostitem.cpp:45
qreal width() const
void setElementId(const QString &id)
void start(int msec)
qreal height() const
bool isActive() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void setZValue(qreal z)
void setSingleShot(bool singleShot)
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.