Topic List | Page List: 1 |
---|---|
Topic | Cool function I wrote |
Yellow 10/04/18 5:30:34 AM #1: | So, I'm making my own Windows Forms/Qt equivalent in MonoGame (a library pretty much meant for games only), and I just got done making a object-to-child-class code generator. Basically how Windows Forms adds new windows as classes to your code. I can't really explain it well, but it does this. // My 'Animal' test class This will take goat and write to a CS file a class that inherits Animal, preserving all the fields as they were. // All auto-generated //... Goat I feel like MS has made something like this and gave us access to it, (idk why else you would have such a functional Reflection system) and I just wrote this for no reason, but oh well. Anyone feel free to use my code without credit. Be careful though, if I recall @Judgmenl said I'm a huge idiot that doesn't know anything about programming. Source https://pastebin.com/WDLygCRs @Sahuagin ... Copied to Clipboard! |
Topic List | Page List: 1 |