Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
Loading...
Searching...
No Matches
Functions
gridcell.cpp File Reference
#include "server/game/gridcell.hpp"
#include <iostream>

Functions

CellType charToCellType (char c)
 Returns CellType given a character (maps character representation to CellType). More...
 
char cellTypeToChar (CellType type)
 
bool isCellTypeAllowedInEntryWay (CellType type)
 
bool isWallLikeCell (CellType type)
 

Function Documentation

◆ cellTypeToChar()

char cellTypeToChar ( CellType  type)

TODO: write this

◆ charToCellType()

CellType charToCellType ( char  c)

Returns CellType given a character (maps character representation to CellType).

Parameters
cCharacter to map to its corresponding CellType.
Returns
CellType represented by the given character, or CellType::Unknown if the character doesn't map to a known CellType.

◆ isCellTypeAllowedInEntryWay()

bool isCellTypeAllowedInEntryWay ( CellType  type)

◆ isWallLikeCell()

bool isWallLikeCell ( CellType  type)