AttachedSprite
| Kind | class |
| Package | objects |
| Full name | objects.AttachedSprite |
| Source | source/objects/AttachedSprite.hx |
| Extends | FlxSprite |
Public fields
| Name | Type | Static | Default | Notes |
|---|---|---|---|---|
sprTracker | FlxSprite | no | — | — |
xAdd | Float | no | 0 | — |
yAdd | Float | no | 0 | — |
angleAdd | Float | no | 0 | — |
alphaMult | Float | no | 1 | — |
copyAngle | Bool | no | true | — |
copyAlpha | Bool | no | true | — |
copyVisible | Bool | no | false | — |
Public methods
new (constructor)
function new(file:String = null, anim:String = null, library:String = null, loop:Bool = false)
| Parameter | Type | Default |
|---|---|---|
file (optional) | String | null |
anim (optional) | String | null |
library (optional) | String | null |
loop (optional) | Bool | false |
Internals
Private / internal members
| Method |
|---|
override function update(elapsed:Float) |