flags property
int
get
flags
Get the flags as an integer.
Implementation
int get flags {
var f = 0;
if (audio) {
f |= SDL_INIT_AUDIO;
}
if (events) {
f |= SDL_INIT_EVENTS;
}
if (gameController) {
f |= SDL_INIT_GAMECONTROLLER;
}
if (haptic) {
f |= SDL_INIT_HAPTIC;
}
if (joystick) {
f |= SDL_INIT_JOYSTICK;
}
if (sensor) {
f |= SDL_INIT_SENSOR;
}
if (timer) {
f |= SDL_INIT_TIMER;
}
if (video) {
f |= SDL_INIT_VIDEO;
}
return f;
}