public void DenyPerspective(BoolCube boolCube) { if (boolCube.Top) { DeniedPerspectives.Top = true; } if (boolCube.Bottom) { DeniedPerspectives.Bottom = true; } if (boolCube.Left) { DeniedPerspectives.Left = true; } if (boolCube.Right) { DeniedPerspectives.Right = true; } if (boolCube.Front) { DeniedPerspectives.Front = true; } if (boolCube.Bottom) { DeniedPerspectives.Bottom = true; } }
public void AllowPerspective(BoolCube boolCube) { if (boolCube.Top) { DeniedPerspectives.Top = false; } if (boolCube.Bottom) { DeniedPerspectives.Bottom = false; } if (boolCube.Left) { DeniedPerspectives.Left = false; } if (boolCube.Right) { DeniedPerspectives.Right = false; } if (boolCube.Front) { DeniedPerspectives.Front = false; } if (boolCube.Bottom) { DeniedPerspectives.Bottom = false; } }