Fork me on GitHub
View source

package haxepunk

abstract Position

Represents a position on a two dimensional coordinate system.

Conversion from a { x:Float, y:Float } or a Entity is automatic, no need to use this.

Instance Fields

read only length : Float

x : Float

y : Float

View source

new (obj : Dynamic) : Position

View source

normalize (thickness : Float) : Void