TankmenBG
| Kind | class |
| Package | stages.objects |
| Full name | stages.objects.TankmenBG |
| Source | source/stages/objects/TankmenBG.hx |
| Extends | FlxSprite |
Public fields
| Name | Type | Static | Default | Notes |
|---|---|---|---|---|
animationNotes | Array<Dynamic> | yes | [] | — |
strumTime | Float | no | — | — |
Public methods
new (constructor)
function new(x:Float, y:Float, facingRight:Bool)
| Parameter | Type | Default |
|---|---|---|
x | Float | — |
y | Float | — |
facingRight | Bool | — |
resetTankman
function resetTankman(x:Float, y:Float, goingRight:Bool):Void
| Parameter | Type | Default |
|---|---|---|
x | Float | — |
y | Float | — |
goingRight | Bool | — |
Internals
Private / internal members
| Field | Type | Static |
|---|---|---|
tankSpeed | Float | no |
endingOffset | Float | no |
goingRight | Bool | no |
| Method |
|---|
override function update(elapsed:Float) |