Constructor
@:value({ isPlayer : false, character : "bf" })new(x:Float, y:Float, character:String = "bf", isPlayer:Bool = false)
Variables
@:value(new FlxPoint(0, 0))cameraOffset:FlxPoint = new FlxPoint(0, 0)
@:value(new FlxPoint(0, 0))globalOffset:FlxPoint = new FlxPoint(0, 0)
@:value(null)icon:String = null
@:value(false)isGF:Bool = false
@:value(-5000)lastHit:Float = -5000
Methods
@:value({ y : 0, x : 0 })addOffset(name:String, x:Float = 0, y:Float = 0):Void
@:value({ Context : NONE, Frame : 0, Reversed : false, Force : false })playAnim(AnimName:String, Force:Bool = false, Reversed:Bool = false, Frame:Int = 0, Context:PlayAnimContext = NONE):Void
@:value({ Frame : 0, Reversed : false, suffix : "" })playSingAnim(direction:Int, suffix:String = "", Reversed:Bool = false, Frame:Int = 0):Void