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

danpost's Comments

Back to danpost's profile

Now updated for HTML5 viewing.
@Paul12345 Please start a discussion thread on the issue.
@Heet_Patel, you have your wish. Source is now available.
Now HTML5 compatible. Plus, a small change in placement of a short block of code.
danpostdanpost

2018/1/19

Sorry, second to last line should read as follows: this(new Counter());
danpostdanpost

2018/1/19

@nolttr21 Better is to pass the score value (or the Counter object itself -- easier) from world to world by adding an extra World subclass constructor to ALL worlds like this: public MyWorld(Counter counter) { super( // world dimensions addObject(counter, // counter location coordinates // etc. } The original MyWorld constructor can utilize the new one with this: public MyWorld() { this(counter); }
Now works in HTML5.
Now updated for HTML5.
Now updated for HTML5.