changed from using haxe propertys to normal get set since properties leave the variables as public when compiling to dll
added comment