16 lines
367 B
C++
16 lines
367 B
C++
#pragma once
|
|
#include <DFPlayerMini_Fast.h>
|
|
#include "station.h"
|
|
|
|
class Context {
|
|
public:
|
|
Context(Station* stations, int stationCount, unsigned long delta, DFPlayerMini_Fast* dfPlayer);
|
|
|
|
Station* stations;
|
|
int stationCount;
|
|
unsigned long delta;
|
|
DFPlayerMini_Fast* dfPlayer;
|
|
|
|
int getStationIndex(const Station* station) const;
|
|
bool isPlaying() const;
|
|
};
|