hmm
This commit is contained in:
parent
8d22b88428
commit
f6d7c71fea
@ -42,13 +42,14 @@ void draw() {
|
|||||||
c.display();
|
c.display();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
collision.removeCollisionResolver();
|
collision.removeCollisionResolver();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void keyPressed() {
|
void keyPressed() {
|
||||||
|
|
||||||
Creature c = new TriangleCreature(random(width), random(height), 10);
|
Creature c = new TriangleCreature((int)random(width), (int)random(height), 10);
|
||||||
|
|
||||||
creatures.add(c);
|
creatures.add(c);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user