Avionics
Dropship Simulator
Element.h
Go to the documentation of this file.
1 #include "Component.h"
2 
3 class Element
4 {
5 public:
6  int x, y;
7  std::vector<Component> components;
8 
9  void Render()
10  {
11  for (UINT h = 0; h < components.size(); h++)
12  {
13  components.at(h).Render();
14  }
15  }
16 };
Definition: Element.h:3
int x
Definition: Element.h:6
int y
Definition: Element.h:6
void Render()
Definition: Element.h:9
std::vector< Component > components
Definition: Element.h:7