#ifndef YSBITFIELD_H
#define YSBITFIELD_H

#include <stdbool.h>
#import "YSObject.h"

@interface YSBitField : YSObject {
    int x : 1;
    int y : 1;
    int z : 1;
    int w : 1;
    int h : 4;
}

-(bool) x;
-(bool) y;
-(bool) z;
-(bool) w;
-(unsigned int) h;

@end

#endif