-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfloor.h
29 lines (29 loc) · 908 Bytes
/
floor.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
// Name: Jarrod King, Tyler Harkness, Axe Tang, Sam Farrell, Coltin Thiede
// Class: CS3505
// Assignment: A8
#ifndef FLOOR_H
#define FLOOR_H
//#################################################################
// Floor
// Unimplemented. Will be used for tiling the floor.
// Each Room instance will have its own Floor instance.
// The getImage method will assemble the floor's image and return it.
// (I am thinking some kind of tiling can be done here to create a unique
// and cool appearance)
//#################################################################
#include <QImage>
class Floor
{
public:
Floor(int seed);
QImage getImage();
QRect getRect();
private:
QImage image;
QRect rect;
static const int width=1040;
static const int height=720;
static const int X=80;
static const int Y=80;
};
#endif // FLOOR_H