30 lines
412 B
C++
30 lines
412 B
C++
#ifndef Node_h_
|
|
#define Node_h_
|
|
|
|
#include <iostream>
|
|
|
|
#include "SDL.h"
|
|
|
|
#include "filesystem.hpp"
|
|
|
|
struct Game;
|
|
struct Configuration;
|
|
struct Delegate;
|
|
|
|
struct Node
|
|
{
|
|
|
|
Node *parent = NULL;
|
|
|
|
Node();
|
|
Node(Node*);
|
|
Game *get_root();
|
|
Configuration* get_configuration();
|
|
Delegate* get_delegate();
|
|
void print_branch();
|
|
virtual std::string get_class_name() { return "Node"; };
|
|
|
|
};
|
|
|
|
#endif
|