AttachedText
| Kind | class |
| Package | objects |
| Full name | objects.AttachedText |
| Source | source/objects/AttachedText.hx |
| Extends | Alphabet |
Public fields
| Name | Type | Static | Default | Notes |
|---|---|---|---|---|
offsetX | Float | no | 0 | — |
offsetY | Float | no | 0 | — |
sprTracker | FlxSprite | no | — | — |
copyVisible | Bool | no | true | — |
copyAlpha | Bool | no | false | — |
Public methods
new (constructor)
function new(text:String = "", offsetX:Float = 0, offsetY:Float = 0, bold = false, scale:Float = 1)
| Parameter | Type | Default |
|---|---|---|
text (optional) | String | "" |
offsetX (optional) | Float | 0 |
offsetY (optional) | Float | 0 |
bold (optional) | Dynamic | false |
scale (optional) | Float | 1 |
Internals
Private / internal members
| Method |
|---|
override function update(elapsed:Float) |