View source

class flaxen.component.Layout

Available on all platforms

A layout can be used in addition to position to establish the 0,0 point Changing a layout would then move (as a group) all entities using that layout.

Instance Fields

var name:String

function new(name:String, portrait:Position, landscape:Position):Void

function setOrientation(orientation:Orientation, ?offset:Position):Void

You must call setOrientation. NOTE TO SELF: Great comment, Eric. Just top notch here. Golf clap.