//
//  PaddlesViewController.h
//  Paddles
//
//  Created by Górczyński Robert on 12/01/2012.
//

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

@interface PaddlesViewController : UIViewController
{
    UITouch *touch1;
    UITouch *touch2;
    
    float dx;
    float dy;
    float speed;
    
    NSTimer *timer;
    UIAlertView *alert;
    SystemSoundID sounds[3];
}

@property (retain, nonatomic) IBOutlet UIView *viewPaddle1;
@property (retain, nonatomic) IBOutlet UIView *viewPaddle2;
@property (retain, nonatomic) IBOutlet UIView *viewPuck;
@property (retain, nonatomic) IBOutlet UILabel *viewScore1;
@property (retain, nonatomic) IBOutlet UILabel *viewScore2;

- (void)resume;
- (void)pause;

@end
