-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWorld.hpp
More file actions
38 lines (28 loc) · 685 Bytes
/
World.hpp
File metadata and controls
38 lines (28 loc) · 685 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef CWORLD_HPP
#define CWORLD_HPP
#include "Cube.hpp"
#include "Vector.hpp"
#include "Sphere.hpp"
#include <iostream>
#include <list>
#include <vector>
class World {
public:
GLint mazestate[10][10];
GLint agent[2];
GLint obstructions[10][10]; // 0 no obstruction 1 obstruction
GLint count;
GLint floor[4][3];
Sphere *maze_object;
std::list<Cube> cubes;
// std::vector<Shape*>* ObjectVector;
World();
~World();
void draw_floor(); //draws the floor
void draw_obstructions(); //draws all of the obstructions
void draw_world(); // draw all objects in the world
void reset_world();
void bfs();
void draw_grid();
};
#endif