Krig Game Engine
Loading...
Searching...
No Matches
DisplayList.h
Go to the documentation of this file.
1
7#ifndef _DISPLAY_LIST_H_
8#define _DISPLAY_LIST_H_
9
10#include "QuadTreeNode.h"
11
12class DisplayList {
13 public:
14 DisplayList();
15 ~DisplayList();
16
17 void traverseList();
18
19 void insertLast(QuadTreeNode* n);
20 void clearList();
21
22 // Public so engine code can walk the list directly: QuadTree builds it,
23 // GameLevel owns and clears it, Terrain walks it for rendering.
24 QuadTreeNode* head;
25 QuadTreeNode* tail;
26};
27
28#endif
definition of a quatree node containing min and max coordinates.
Definition QuadTreeNode.h:15