mirror of
https://github.com/thes3m/XNI
synced 2024-12-26 13:26:06 +01:00
34 lines
605 B
Mathematica
34 lines
605 B
Mathematica
|
//
|
||
|
// 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
|