Added a bit_flags attribute to enum declarations that 1<<N every value.

Change-Id: Ib9ec0cb3ddec60b1ca124eaf815fb1ae0cc53e1c
Tested: on Windows and Linux
Bug: 16186562
This commit is contained in:
Wouter van Oortmerssen
2014-07-17 15:12:37 -07:00
parent bd86bf60ec
commit 127d35085a
11 changed files with 40 additions and 24 deletions

View File

@@ -3,8 +3,8 @@
package MyGame.Example;
public class Color {
public static final byte Red = 0;
public static final byte Green = 1;
public static final byte Blue = 2;
public static final byte Red = 1;
public static final byte Green = 2;
public static final byte Blue = 8;
};