Skip to content

Instantly share code, notes, and snippets.

@khalladay
Last active Dec 16, 2015
Embed
What would you like to do?
Bit Flag Example
enum ShipAttribute
{
EnergyShield = 0x1,
PlasmaCannon = 0x2,
IonThrusters = 0x4,
Teleporter = 0x8,
FireSuppression = 0x10
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment