Files

31 lines
799 B
C++
Raw Permalink Normal View History

2022-01-27 10:32:13 -05:00
#pragma once
#include "Game/Map/RailGraph.hpp"
#include "Game/Map/RailGraphEdge.hpp"
#include "Game/Map/RailGraphNode.hpp"
2022-01-27 10:32:13 -05:00
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;
2024-08-20 20:19:54 -04:00
const RailGraph* mGraph; // 0x0
2022-01-27 10:32:13 -05:00
s32 _4;
2024-08-20 20:19:54 -04:00
s32 mSelectedEdge; // 0x8
s32 mNextEdge; // 0xC
2022-01-27 10:32:13 -05:00
s32 _10;
};