Untitled

 avatar
unknown
plain_text
4 months ago
300 B
5
Indexable
bool Grid::IsCellEmpty(const CellPosition& pos) const
{
	GameObject* pObject = CellList[pos.VCell()][pos.HCell()]->GetGameObject(); //pObject should store the object if there is (copied it from the syntax/idea function above)
	return (pObject == NULL); // Return true if the cell contains no object
}
Editor is loading...
Leave a Comment