yogshototh/Yog-Shot-Oth/Starship.m
Yann Esposito (Yogsototh) b16f0ca9b5 Move slowly all enemies
2011-10-06 00:24:28 +02:00

31 lines
500 B
Objective-C

//
// Starship.m
// Yog-Shot-Oth
//
// Created by Yann Esposito on 05/10/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import "Starship.h"
#import "cocos2d.h"
@implementation Starship
-(id)init
{
self = [super init];
if (self) {
// Initialization code here
}
return self;
}
- (id)initWithFile:(NSString *)file winSize:(CGSize)winSize
{
[self initWithFile:@"Starship.png"];
self.position = ccp(winSize.width/2, 50);
return self;
}
@end