add print heading and speed
This commit is contained in:
parent
c426940320
commit
d99cf5bdc9
1 changed files with 2 additions and 0 deletions
2
Boid.pde
2
Boid.pde
|
|
@ -38,6 +38,8 @@ class Boid
|
||||||
if (target != null)
|
if (target != null)
|
||||||
{
|
{
|
||||||
// TODO: Implement seek here
|
// TODO: Implement seek here
|
||||||
|
print(kinematic.getHeading());
|
||||||
|
kinematic.increaseSpeed(2,-.0001);
|
||||||
}
|
}
|
||||||
|
|
||||||
// place crumbs, do not change
|
// place crumbs, do not change
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue