DataMatrix.h 270 B

1234567891011121314151617181920212223
  1. #import <Foundation/Foundation.h>
  2. @interface DataMatrix : NSObject {
  3. int dim;
  4. bool** data;
  5. }
  6. - (id)initWith:(int)dimension;
  7. - (int)dimension;
  8. - (void)set:(bool)value x:(int)x y:(int)y;
  9. - (bool)valueAt:(int)x y:(int)y;
  10. - (NSString*)toString;
  11. @end