Rendering player and tiles now works.
This commit is contained in:
@ -32,10 +32,14 @@ namespace model {
|
||||
Cell cell(size_t layer, size_t row, size_t col) const;
|
||||
void setCell(size_t layer, size_t row, size_t col, Cell value);
|
||||
|
||||
int texture(size_t layer) const;
|
||||
void setTexture(size_t layer, int textureId) const;
|
||||
|
||||
size_t m_cellWidth, m_cellHeight;
|
||||
|
||||
private:
|
||||
Cell* m_cells;
|
||||
int* m_textures;
|
||||
size_t m_layers;
|
||||
size_t m_rows;
|
||||
size_t m_columns;
|
||||
|
Reference in New Issue
Block a user