namen anpassen
This commit is contained in:
parent
99929b47a9
commit
f1b29a3883
2
logs.pde
2
logs.pde
@ -1,3 +1,4 @@
|
|||||||
|
// Tarek
|
||||||
class Log {
|
class Log {
|
||||||
float x, y, logwidth, logheight;
|
float x, y, logwidth, logheight;
|
||||||
boolean sawed = false;
|
boolean sawed = false;
|
||||||
@ -19,7 +20,6 @@ class Log {
|
|||||||
//draw();
|
//draw();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Tarek
|
|
||||||
void drawLog(int logtext) {
|
void drawLog(int logtext) {
|
||||||
if (sawed) {
|
if (sawed) {
|
||||||
logcolor = color(128, 88, 60);
|
logcolor = color(128, 88, 60);
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
import processing.sound.*;
|
import processing.sound.*;
|
||||||
|
|
||||||
|
// Tarek
|
||||||
float checkDistance(Log log, Ship ship) {
|
float checkDistance(Log log, Ship ship) {
|
||||||
float testX = ship.pos.x;
|
float testX = ship.pos.x;
|
||||||
float testY = ship.pos.y;
|
float testY = ship.pos.y;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user