larsiusprime / polymod

Atomic modding framework for Haxe
MIT License
161 stars 62 forks source link

made it public #109

Closed ghost closed 2 years ago

ghost commented 2 years ago

i just made it a public static function

EliteMasterEric commented 2 years ago

The values of PolymodConfig are properties, not variables. The get_debug function gets automatically called when you access PolymodConfig.debug, which is a public value.

An accessor method (or short accessor) for a field named field of type T is a getter named get_field of type Void->T or a setter named set_field of type T->T.

The getter function is specifically NOT supposed to be public. Just access the value normally.

ghost commented 2 years ago

oh my bad