//
//  iMove3DAppDelegate.h
//  iMove3Dv4
//
//  Created by Luis Ballesteros on 5/6/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RunnerViewController.h"

@class iMove3DViewController;

@interface iMove3DAppDelegate : UIResponder <UIApplicationDelegate>{
    //NSString* data;
    //RunnerViewController *rvc;
}


@property (strong, nonatomic) UIWindow *window;

@property (strong, nonatomic) iMove3DViewController *vc;

@property (weak, nonatomic) RunnerViewController *rvc;

@property (copy,readwrite) NSString *url;

@property (copy,readwrite) NSString *port;

@property (copy,readwrite) NSString *sampFrecuency;

@property (copy,readwrite) NSString *transSpeed;

@property (copy,readwrite) NSString *sensitivity;

@property (assign, readwrite) NSInteger numberOfTouches;

@property (assign, readwrite) NSInteger numberOfTaps;

@property (assign, readwrite) BOOL isLongPressed;

@property (assign, readwrite) CGPoint startPoint;

@property (readwrite) CGPoint currentPoint;

@property (readwrite) short int deltaX;

@property (readwrite) short int deltaY;

- (void) changeStatePointingDragging;
- (void) changeStateTranslatingRotating;
- (void) changeStateGyroTouching;

@end
