A class that describes how some object should be positioned relative to another

Static variables

@:value("bottom")staticinlineread onlyBOTTOM:String = "bottom"

@:value("center")staticinlineread onlyCENTER:String = "center"

@:value("left")staticinlineread onlyLEFT:String = "left"

@:value("right")staticinlineread onlyRIGHT:String = "right"

@:value("top")staticinlineread onlyTOP:String = "top"

@:value("unknown")staticinlineread onlyUNKNOWN:String = "unknown"

Constructor

new(XOff:Float, YOff:Float, XSide:String, YSide:String, XFlush:String, YFlush:String)

Variables

Methods

anchorThing(thing:FlxObject, destination:FlxObject):Void

getFlipped(FlipX:Bool, FlipY:Bool, ?AnchorObject:Anchor):Anchor