Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //creo las palas//
- class palas {
- float x;
- float y = height/2;
- float ancho = 30;
- float alto = 70;
- //ni puta idea de para que es este//
- palas(float x_) {
- x = x_;
- }
- //para mover las palas//
- void mover(float clicks){
- y += clicks;
- y = constrain(y,0,465);
- }
- //forma de las palas//
- void forma() {
- fill(0);
- rectMode(CENTER);
- rect(x,y,ancho,alto);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement