GMLGetSet
A downloadable tool for Windows
GMLGetSet is a simple, tiny tool for generating getters and setters for your constructor variables.
It's a good practice to keep constructor variables private and have them set or read (get) via a public function. This tool reads a list of constructor assignments and generates GML code for getter and setter stubs for each field. Once copied you can paste it into your project and customize away (improve the JSDoc, modify data types, add validations or whatever is needed).
GMLGetSet can also automatically generate GMLDocMaker compatible JSDoc stubs for your getters/setters.
Check the video for a sneak peek.
Install instructions
Unzip and run.
Leave a comment
Log in with itch.io to leave a comment.