wolf agent
This commit is contained in:
parent
6bf5f8b659
commit
8b2fa0f7f5
|
|
@ -0,0 +1,14 @@
|
||||||
|
package backend;
|
||||||
|
|
||||||
|
import java.awt.Color;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.Random;
|
||||||
|
|
||||||
|
public class Wolf extends Agent {
|
||||||
|
|
||||||
|
int hunger;
|
||||||
|
random rand;
|
||||||
|
Wolf(int x,int y){
|
||||||
|
super(x,y,Color.red)
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue