mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-18 12:48:52 +01:00
23 lines
400 B
C++
23 lines
400 B
C++
/* This file is subject to the terms and conditions defined in
|
|
* file 'LICENSE.txt', which is part of this source code package.
|
|
*/
|
|
#pragma once
|
|
|
|
class Page;
|
|
|
|
class AttractMode
|
|
{
|
|
public:
|
|
AttractMode();
|
|
void SetIdleTime(float time);
|
|
void Reset();
|
|
void Update(float dt, Page &page);
|
|
|
|
private:
|
|
bool IsActive;
|
|
float ElapsedTime;
|
|
float ActiveTime;
|
|
float IdleTime;
|
|
|
|
};
|