This site requires JavaScript, please enable it in your browser!
Greenfoot back
octav20071
octav20071 wrote ...

2021/7/22

Modify constructor code

octav20071 octav20071

2021/7/22

#
I want to modify Greenfoot's constructor code, for MyWorld and actors, but where is the script located? I know what I'm doing, I only want to know what is the path to the text file.
danpost danpost

2021/7/22

#
octav20071 wrote...
I want to modify Greenfoot's constructor code, for MyWorld and actors, but where is the script located? I know what I'm doing, I only want to know what is the path to the text file.
If you want to modify the templates for when the classes are created, you can use any text editor finding the files at: greenfoot/lib/english/greenfoot/templates
octav20071 octav20071

2021/7/22

#
danpost wrote...
octav20071 wrote...
I want to modify Greenfoot's constructor code, for MyWorld and actors, but where is the script located? I know what I'm doing, I only want to know what is the path to the text file.
If you want to modify the templates for when the classes are created, you can use any text editor finding the files at: greenfoot/lib/english/greenfoot/templates
alright, thank you very much!!
You need to login to post a reply.