animatables.h
来自「TTR的一个经典游戏」· C头文件 代码 · 共 20 行
H
20 行
@interface Animatable : UIImageView { BOOL dormant;}- (BOOL) tick;- (BOOL) dormant;@end@interface Reward : Animatable { float posx, posy, life; UIView * view; }- (id) initWithImage: (UIImage *) img X: (float)x Y: (float)y view: (UIView *)v;@end@interface Particle: Animatable { float posx, posy, velx, vely, life; UIView * view;}- (id) initWithX: (float)x Y: (float)y view: (UIView *)v;@end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?