I'm finding these errors:
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Unknown Source)
at Town.loose(Town.java:101)
at BuildableObject.addedToWorld(BuildableObject.java:199)
at greenfoot.World.addObject(World.java:401)
at BuildingPrototype.finishConstruction(BuildingPrototype.java:23)
at BuildingPrototype.act(BuildingPrototype.java:16)
at greenfoot.core.Simulation.runOneLoop(Simulation.java:346)
at greenfoot.core.Simulation.run(Simulation.java:178)
Seems like it's happening when you don't get enough people...
And the spaceship does not come back with people + it does not seem to be able to go again.
@spaceblue: That stack trace is produced when you loose the game. I implemented it for debugging, you shouldn't worry about it. Five minutes before the deadline, I didn't think about things like that. I think I should sooner begin with programming next time. I also didn't really work on making the game playable (not too hard and not too easy), and there also are a few other things that don't work. But I think that this code could be the base for an interesting strategy game.
2009/12/5
2009/12/5
2009/12/5
2009/12/5