This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
Sniper
wrote ...
2013/11/5
Checking if the game is running locally or online
Sniper
2013/11/5
#
Is it possible to check if the game is running locally on a machine or online? I want to check so I can only try to write to a file if the game is running locally since you cannot write to a file when running online.
bourne
2013/11/5
#
davmac wrote...
private boolean isRunningAsApplet() { return null != System.getSecurityManager(); }
You need to login to post a reply.
X