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

Report as inappropriate.

Amri presents ...



Press 'space' to toggle traffic lights.

Some code portions were taken from

1)Poul Henriksen
2)Michael Kolling

Inspired by the app TrafficRush.

I hope my code can help just like other scenarios helped me.

Created to be as reusable as possible.

Feel free to criticize and reuse my code all you want. :)

2575 views / 715 in the last 7 days

Tags: game simulation example strategy reusable pattern design patterns factory method

open in greenfoot
Your browser does not support the canvas tag.

No Comments

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.