Files
peko-ios/YuMi/Modules/YMRoom/View/AnimationView/GiftAnimationHelper.h
edwinQQQ 57735e37c4 fix: 优化送礼的内存效率 |
TODO:调整 combo 时的金币变动效果
2024-12-09 19:27:02 +08:00

30 lines
744 B
Objective-C

//
// GiftAnimationManager.h
// YuMi
//
// Created by P on 2024/12/9.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface GiftAnimationHelper : NSObject
/**
* Begins a gift animation from a start point to an end point
* @param giftUrl URL of the gift image to display
* @param startPoint Starting position of the animation
* @param endPoint Ending position of the animation
* @param isGiftCombing Flag to determine if this is a combo animation
*/
- (void)beginGiftAnimation:(NSString *)giftUrl
startPoint:(CGPoint)startPoint
endPoint:(CGPoint)endPoint
isGiftCombing:(BOOL)isGiftCombing
toTargetView:(UIView *)targetView;
@end
NS_ASSUME_NONNULL_END