Thanks a lot ,Kevin. Your advices is really helpful (especially the debug link o:-)).My teacher told us that the lecture was about OOP not java.Things like threads,GUI... is only taught very little...
Type: Posts; User: codenoob
Thanks a lot ,Kevin. Your advices is really helpful (especially the debug link o:-)).My teacher told us that the lecture was about OOP not java.Things like threads,GUI... is only taught very little...
I'm writing a program about pasture with entities on it.Here is the engine:
import java.util.*;
import javax.swing.Timer;
import java.awt.event.*;
/**
* The simulation is run by an...
here is the Pasture.
(of course it contains more methods than this but I think these only these methods can cause that error)
private int width = 20;
private int ...
I'm working on my assignment.My task is to create a pasture with entities on it.The entities are sheep,grass.Every second I call method tick() of each entities then they start moving and eating or...