diff options
Diffstat (limited to 'Classes/FallingObject.m')
| -rwxr-xr-x | Classes/FallingObject.m | 34 |
1 files changed, 34 insertions, 0 deletions
| diff --git a/Classes/FallingObject.m b/Classes/FallingObject.m new file mode 100755 index 0000000..297b426 --- /dev/null +++ b/Classes/FallingObject.m | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | // | ||
| 2 | // GameObject.m | ||
| 3 | // Cart Collect | ||
| 4 | // | ||
| 5 | // Created by iD Student Account on 7/19/11. | ||
| 6 | // Copyright 2011 __MyCompanyName__. All rights reserved. | ||
| 7 | // | ||
| 8 | |||
| 9 | #import "FallingObject.h" | ||
| 10 | |||
| 11 | |||
| 12 | @implementation FallingObject | ||
| 13 | |||
| 14 | @synthesize sprite, weight; | ||
| 15 | |||
| 16 | - (id)init | ||
| 17 | { | ||
| 18 | self = [super init]; | ||
| 19 | |||
| 20 | if (nil != self) | ||
| 21 | { | ||
| 22 | |||
| 23 | } | ||
| 24 | |||
| 25 | return self; | ||
| 26 | } | ||
| 27 | |||
| 28 | - (void)dealloc | ||
| 29 | { | ||
| 30 | [sprite release]; | ||
| 31 | [super dealloc]; | ||
| 32 | } | ||
| 33 | |||
| 34 | @end \ No newline at end of file | ||
