Created
November 9, 2009 09:32
-
-
Save jkells/229834 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(id) initWithVect: (int16_t) dx: (int16_t) dy: (uint8_t) btn{ | |
self = [super init]; | |
[self AddByte: 6]; | |
[self AddINT16: dx * 2]; | |
[self AddINT16: dy * 2]; | |
[self AddByte: btn]; | |
return self; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment