Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
Loading...
Searching...
No Matches
gridcell.hpp
Go to the documentation of this file.
1#pragma once
2
4
6
15
20
22
23class GridCell {
24public:
31 GridCell(int x, int y, CellType type);
32 int x;
33 int y;
35
36 // TODO: Possibly add a vec3 position vector here for the center of the
37 // GridCell?
38};
CellType
Definition: celltype.hpp:3
Definition: gridcell.hpp:23
int y
Definition: gridcell.hpp:33
CellType type
Definition: gridcell.hpp:34
int x
Definition: gridcell.hpp:32
GLint GLenum GLint x
Definition: glad.h:1655
GLint y
Definition: glad.h:1516
GLint GLint GLsizei GLint GLenum GLenum type
Definition: glad.h:1531
bool isCellTypeAllowedInEntryWay(CellType type)
Definition: gridcell.cpp:191
CellType charToCellType(char c)
Returns CellType given a character (maps character representation to CellType).
Definition: gridcell.cpp:8
bool isWallLikeCell(CellType type)
Definition: gridcell.cpp:195
char cellTypeToChar(CellType type)
Definition: gridcell.cpp:100