You can get access to the Greenfoot classes outside of Greenfoot as
they are just in a jar which you could import yourself. However they
aren't designed to be used on their own and there is a _lot_ of behind
the scenes stuff which isn't documented because your just plain not
meant to be using them directly (Greenfoot handles it for you). So
practically speaking the answer is just no.
Personally speaking I think you'd find it easier building your own
libraries to offer the same (or similar) functionality then trying to
get the libraries working outside of Greenfoot.
On Aug 7, 10:49 am, Sean <sats...@gmail.com> wrote:
My 13 year old son and I are learning Java together. We are following
the traditional path and have been creating some simple GUI's using
Swing. My son now wants to write a game and it seems like your class
libraries would make that much easier, however we would like to do so
without using your IDE. I tried compiling some code pointing the
classpath to the greenfoot jars, but was unsuccessful. Do you or
anyone on this forum have a recipe for using Greenfoot world and actor
methods outside of the greenfoot IDE?