ABotSpeaker
| Kind | class |
| Package | stages.objects |
| Full name | stages.objects.ABotSpeaker |
| Source | source/stages/objects/ABotSpeaker.hx |
| Extends | FlxSpriteGroup |
Public fields
| Name | Type | Static | Default | Notes |
|---|---|---|---|---|
bg | FlxSprite | no | — | — |
vizSprites | Array<FlxSprite> | no | [] | — |
eyeBg | FlxSprite | no | — | — |
eyes | FlxAnimate | no | — | #if flxanimate |
speaker | FlxAnimate | no | — | #if flxanimate |
eyes | FlxSprite | no | — | #if !(flxanimate) |
speaker | FlxSprite | no | — | #if !(flxanimate) |
snd | FlxSound | no | — | property (default, set) |
Public methods
new (constructor)
function new(x:Float = 0, y:Float = 0)
| Parameter | Type | Default |
|---|---|---|
x (optional) | Float | 0 |
y (optional) | Float | 0 |
beatHit
function beatHit()
initAnalyzer
function initAnalyzer()
Only compiled when #if funkin.vis.
lookLeft
function lookLeft()
lookRight
function lookRight()
Internals
Private / internal members
| Field | Type | Static |
|---|---|---|
VIZ_MAX | — | no |
VIZ_POS_X | Array<Float> | no |
VIZ_POS_Y | Array<Float> | no |
analyzer | SpectralAnalyzer | no |
volumes | Array<Float> | no |
levels | Array<Bar> | no |
levelMax | Int | no |
lookingAtRight | Bool | no |
| Method |
|---|
function set_snd(changed:FlxSound) |
override function update(elapsed:Float):Void |