1
0
mirror of https://github.com/thes3m/XNI synced 2024-12-26 13:26:06 +01:00
XNI/Classes/Retronator/Devices/Sensors/AccelerometerReadingEventArgs.m
Matej Jan b212fc7d44 Completed Accelerometer support.
MediaPlayer stop corrected.

git-svn-id: http://xni.googlecode.com/svn/XNI@61 ac433895-eea3-a490-d80a-17149a75e588
2011-02-18 13:53:30 +00:00

34 lines
605 B
Objective-C

//
// AccelerometerReadingEventArgs.m
// XNI
//
// Created by Matej Jan on 15.2.11.
// Copyright 2011 Retronator. All rights reserved.
//
#import "AccelerometerReadingEventArgs.h"
#import "AccelerometerReadingEventArgs+Internal.h"
@implementation AccelerometerReadingEventArgs
- (id) initWithTimestamp:(NSTimeInterval)timestampValue x:(double)xValue y:(double)yValue z:(double)zValue
{
self = [super init];
if (self != nil) {
timestamp = timestampValue;
x = xValue;
y = yValue;
z = zValue;
}
return self;
}
@synthesize timestamp, x, y, z;
- (void) dealloc
{
[super dealloc];
}
@end