JubeatPlus
3.9.11
Loading...
Searching...
No Matches
BGRipple.h
Go to the documentation of this file.
1
11
12
#import <CoreGraphics/CoreGraphics.h>
13
#import <Foundation/Foundation.h>
14
15
@class
Texture2D
;
16
17
NS_ASSUME_NONNULL_BEGIN
18
25
@interface
BGRipple
: NSObject
26
39
- (instancetype)initWithSprite:(NSUInteger)aSprite
40
atPoint:(CGPoint)aPoint
41
xSpeed:(
float
)anXSpeed
42
lifetime:(
unsigned
int
)aLifetime
43
basesize:(
float
)basesize
44
mag:(
float
)aMag
45
alpha:(
float
)alpha;
46
54
- (BOOL)
step
;
55
65
- (void)renderWithTexture:(nullable
Texture2D
*)texture;
66
67
@end
68
69
NS_ASSUME_NONNULL_END
70
71
// code: language=Objective-C
72
// kate: hl Objective-C;
73
// vim: set ft=objc :
BGRipple
A single ripple sprite that drifts sideways, swells and fades.
Definition
BGRipple.h:26
-[BGRipple step]
BOOL step()
Advances the ripple by one frame.
Definition
BGRipple.m:68
Texture2D
A texture that can draw any of the sprites packed into it.
Definition
Texture2D.h:40
Project
BGRipple.h
Generated by
1.15.0