Miscellany
public cpp v1 · immutableuint16 GetColourByPosition(int position){ switch(position) { case 0: return 0x10; //black case 1: return 0x96; //light blue case 2: return 0xB9; //orange case 3: return 0xB6; //red case 4: return 0xCF; //green case 5: return 0x0D; //white case 6: return 0x9A; //blue default: return 0x10; }}