So, I had this bright idea. I need to loop though all directions in a flathead hex. So, given the enum
public enum HexDirectionFlat
{
UP, UP_LEFT, DOWN_LEFT, DOWN, DOWN_RIGHT, UP_RIGHT
}
Is then this a valid for-loop?
for(HexDirectionFlat dir = HexDirectionFlat.UP; dir <= HexDirectionFlat.UP_RIGHT; dir++)
If so, are there any performence reasons not to use this?