重构 room 动画层 50%
This commit is contained in:
@@ -54,7 +54,8 @@
|
||||
#import "DatingStageView.h"
|
||||
#import "AnchorStageView.h"
|
||||
#import "AnchorPkStageView.h"
|
||||
#import "XPRoomAnimationView.h"
|
||||
//#import "XPRoomAnimationView.h"
|
||||
#import "RoomAnimationView.h"
|
||||
#import "XPRoomFunctionContainerView.h"
|
||||
#import "XPArrangeMicViewController.h"
|
||||
#import "XPRoomSettingInputView.h"
|
||||
@@ -145,7 +146,7 @@ XPCandyTreeInsufficientBalanceViewDelegate>
|
||||
@property(nonatomic, strong) RoomSideMenu *sideMenu;
|
||||
//@property (nonatomic,strong) XPRoomActivityContainerView *activityContainerView;
|
||||
///动画的view
|
||||
@property (nonatomic,strong) XPRoomAnimationView *animationView;
|
||||
@property (nonatomic,strong) RoomAnimationView *animationView;
|
||||
///功能view的的容器
|
||||
@property (nonatomic,strong) XPRoomFunctionContainerView *functionView;
|
||||
///小游戏的容器
|
||||
@@ -2337,7 +2338,9 @@ XPCandyTreeInsufficientBalanceViewDelegate>
|
||||
|
||||
[self.stageView exitRoom];
|
||||
[self.menuContainerView menuResignFirstResponder];
|
||||
|
||||
[self.animationView resumeTimer];
|
||||
|
||||
if (self.roomInfo.roomModeType == RoomModeType_Open_Micro_Mode || self.roomInfo.roomModeType == RoomModeType_Open_Blind) {
|
||||
NSString * roomUid = [NSString stringWithFormat:@"%ld", self.roomInfo.uid];
|
||||
NSString * uid = [AccountInfoStorage instance].getUid;
|
||||
@@ -2790,9 +2793,9 @@ XPCandyTreeInsufficientBalanceViewDelegate>
|
||||
return _sideMenu;
|
||||
}
|
||||
|
||||
- (XPRoomAnimationView *)animationView {
|
||||
- (RoomAnimationView *)animationView {
|
||||
if (!_animationView) {
|
||||
_animationView = [[XPRoomAnimationView alloc] initWithDelegate:self];
|
||||
_animationView = [[RoomAnimationView alloc] initWithHostDelegate:self];
|
||||
}
|
||||
return _animationView;
|
||||
}
|
||||
|
Reference in New Issue
Block a user