Files
Petari/include/Game/Map/RailGraphIter.hpp
2024-08-20 20:19:54 -04:00

31 lines
799 B
C++

#pragma once
#include "Game/Map/RailGraph.hpp"
#include "Game/Map/RailGraphEdge.hpp"
#include "Game/Map/RailGraphNode.hpp"
class RailGraphIter {
public:
RailGraphIter(const RailGraph *);
void moveNodeNext();
void setNode(s32);
void watchStartEdge();
void watchNextEdge();
bool isWatchEndEdge() const;
void selectEdge();
void selectEdge(s32);
bool isWatchedPrevEdge() const;
bool isSelectedEdge() const;
RailGraphNode* getCurrentNode() const;
RailGraphNode* getNextNode() const;
RailGraphNode* getWatchNode() const;
RailGraphEdge* getCurrentEdge() const;
RailGraphEdge* getWatchEdge() const;
const RailGraph* mGraph; // 0x0
s32 _4;
s32 mSelectedEdge; // 0x8
s32 mNextEdge; // 0xC
s32 _10;
};