aboutsummaryrefslogtreecommitdiffstats
path: root/dev/a4-dance/dance_floor.h
blob: 8d992f416a393f1278e9b4707b98a1ba4d63a995 (plain) (blame)
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
#ifndef DANCE_FLOOR_H_
#define DANCE_FLOOR_H_

#include <mingfx.h>

#include <vector>

class DanceFloor {
public:
    DanceFloor(float s, int c);

    void Draw(const Matrix4 &modelMatrix, const Matrix4 &viewMatrix, const Matrix4 &projMatrix);

    Color tile_color(int index);

private:

    float tileSize_;
    int tileCount_;

    std::vector< std::vector<Color> > colors_;

    Texture2D tex_;
    Mesh floorMesh_;
};


#endif