- (void)ccTouchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
{
UITouch *touch = [touches anyObject];
CGPoint location = [touch locationInView: [touch view]];
[mySprite setPosition:ccp(location.x , location.y )];
}
{
UITouch *touch = [touches anyObject];
CGPoint location = [touch locationInView: [touch view]];
[mySprite setPosition:ccp(location.x , location.y )];
}
No hay comentarios:
Publicar un comentario