interface haxe code example Example: haxe interface interface Printable { public var x:Float; public function toString():String; }