I have this call: (Velocity is a CGPoint)
float velY = Velocity.y;
velY = [self DoJump:velY :gT];
To this:
- (float) DoJump:(float) velocityY:(ccTime) GameTime
{
return velocityY;
}
but im getting an error at the call saying incompatible types. Can someone tell me what is wrong?