//
//  XTGameInputEvent.h
//  XTads
//
//  Created by Rune Berg on 19/10/16.
//  Copyright © 2016 Rune Berg. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface XTGameInputEvent : NSObject

@property NSInteger type;      // OS_EVT_*
@property NSInteger key0;      // When type is OS_EVT_KEY
@property NSInteger key1;      // When type is OS_EVT_KEY
@property NSString *href;      // When type is OS_EVT_HREF
@property NSInteger commandId; // When type is OS_EVT_COMMAND

- (void)reset;

- (void)setFrom:(XTGameInputEvent *)other;

@end
