-
Notifications
You must be signed in to change notification settings - Fork 0
/
indoors.h
41 lines (28 loc) · 809 Bytes
/
indoors.h
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
39
40
41
#ifndef INDOORS_H
#define INDOORS_H
#include "gameobjs.h"
//SDL_Surface* getIndoorObjSurface(int objType);
Coords getIndoorObjDimensions(int objType);
int getIndoorFloor(int roomNum);
class IndoorHandler
{
public:
IndoorHandler();
~IndoorHandler();
void drawRoomView(int roomNumber);
void drawRoomSprites(int roomNum);
bool isInside() {return isIndoors;}
void goInside(int roomNumber);
void goOutside();
//void indoorInput();
SDL_Surface* getIndoorObjSurface(int objType);
int collideObjTest(int chX, int chY);
int collideWith(int collideItem);
//Coords getIndoorObjDimensions(int objType);
//int getIndoorFloor(int roomNum);
private:
bool isIndoors;
bool firstLoad;
std::vector <Coords> indoorObjLocations;
};
#endif