24 lines
549 B
C++
24 lines
549 B
C++
#pragma once
|
|
|
|
#include "beatlevel.h"
|
|
|
|
namespace Beatsaber {
|
|
|
|
// helps rendering a level
|
|
class BeatLevelRenderHelper {
|
|
public:
|
|
BeatLevelRenderHelper() {}
|
|
virtual ~BeatLevelRenderHelper() {}
|
|
|
|
class LevelRenderIterator {
|
|
public:
|
|
virtual bool hasNextNote() const = 0;
|
|
virtual const Note& getNextNote() = 0;
|
|
virtual const Wall& getNextWall() = 0;
|
|
};
|
|
|
|
//get a iterator to all objects visible for a defined time period
|
|
virtual std::unique_ptr<BeatLevelRenderHelper::LevelRenderIterator> getIterator(double time, float* matrix) const = 0;
|
|
};
|
|
|
|
} |