Well... it mostly works. switch() throws an error if the difference between cases is higher than 32, which isn't deadly, but surely can be improved.
But yeah, sorry for my stupidity, enum constants value assignment sure works.
Cool :)