GameBridge.h 341 B

123456789101112131415161718192021
  1. //
  2. // GameBridge.h
  3. // danmaku
  4. //
  5. // Created by Sam Jaffe on 5/28/19.
  6. // Copyright © 2019 Sam Jaffe. All rights reserved.
  7. //
  8. #import <Cocoa/Cocoa.h>
  9. @interface GameBridge : NSObject
  10. - (id) init;
  11. - (void) pause;
  12. - (void) unpause;
  13. - (void) update;
  14. - (void) render;
  15. - (void) refresh;
  16. - (void) keyEvent:(int)key down:(BOOL)pressed;
  17. @end