wolf in red
This commit is contained in:
parent
4d7f223e9d
commit
2c63f60c1a
|
|
@ -13,7 +13,7 @@ public class Wolf extends Agent {
|
|||
//first we call the constructor of the superClass(Animal)
|
||||
//with the values we want.
|
||||
// here we decide that a Sheep is initially white using this constructor
|
||||
super(x,y,Color.orange);
|
||||
super(x,y,Color.red);
|
||||
// we give our sheep a hunger value of zero at birth
|
||||
hunger = 0;
|
||||
//we initialize the random number generator we will use to move randomly
|
||||
|
|
|
|||
Loading…
Reference in New Issue