public setBarrier ( Vector2 v, bool value ) : void | ||
v | Vector2 | |
value | bool | |
return | void |
public void setBarrier(Vector2 v, bool value)
{
List<int> temp = vecToBoard(v);
int x=temp[0],y=temp[1];
board[x,y].activateWall(value);
}