18 void update(
int timeDifference)
override;
30 #endif // GAMELOSTRAY_H
The LightRay class describes the lightrays sent into Scene. Because LightRays are sent into Scene ri...
Definition: lightray.h:24
bool m_alreadyLost
Definition: gamelostray.h:27
The GameLostRay class is a specialized LightRay, that is created if the player should lose as soon as...
Definition: gamelostray.h:9
void gameLost()
The gameLost() signal is emitted at that moment the ray detects the player leaving the scene...
GameLostRay(QObject *parent=0)
Definition: gamelostray.cpp:6
void update(int timeDifference) override
This method is like LightRay::update() with the addition, that the game end is detected a soon as the...
Definition: gamelostray.cpp:12