Created
March 6, 2019 14:17
-
-
Save Bradshaw/80b23efdaad713defa38f24251e3dea5 to your computer and use it in GitHub Desktop.
π€·ββοΈ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string PrintMe(){ | |
Dictionary<string,string> pictos = new Dictionary<string,string>(); | |
pictos.Add("ur", "β"); | |
pictos.Add("ulr", "β΄"); | |
pictos.Add("dlr", "β¬"); | |
pictos.Add("udr", "β"); | |
pictos.Add("lr", "β"); | |
pictos.Add("udlr", "βΌ"); | |
pictos.Add("dr", "β"); | |
pictos.Add("dl", "β"); | |
pictos.Add("ul", "β"); | |
pictos.Add("ud", "β"); | |
pictos.Add("udl", "β€"); | |
string selectPicto = ""; | |
if (connectUp) selectPicto+="u"; | |
if (connectDown) selectPicto+="d"; | |
if (connectLeft) selectPicto+="l"; | |
if (connectRight) selectPicto+="r"; | |
if (pictos.ContainsKey(selectPicto)){ | |
return pictos[selectPicto]; | |
} else { | |
return " "; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment