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

2012/8/18

[Help] Searching Classes

1
2
Builderboy2005 Builderboy2005

2012/9/5

#
How about this. When the user creates a class that implements the interface, they must also register themselves with the Event Controller. This would let the Event Controller know what specific objects it should be calling. This would also be doable without forcing the user to modify the Event Controller class themselves, which is what you want I believe.
kiarocks kiarocks

2012/9/5

#
It's on the website that is the problem
Builderboy2005 Builderboy2005

2012/9/5

#
My method uses zero file access so I don't see why that would be a problem.
danpost danpost

2012/9/5

#
You will not be writing any files (which you cannot do on the site); you are just reading one that is within the project directory (which is allowed).
Builderboy2005 Builderboy2005

2012/9/5

#
Are you talking about my method or a different one? Because my method does not use any file access at all, not even reading.
kiarocks kiarocks

2012/9/5

#
I'm talking about my method, which uses the class loader to get a list of classes using reflection
You need to login to post a reply.
1
2