Skip to content
Snippets Groups Projects
Commit 294e870c authored by antoinemeyer5's avatar antoinemeyer5
Browse files

ebauche fonction pour eteindre feu

parent 4d24eafe
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -8,7 +8,7 @@ void initPlayer(){
player.y = 0;
player.w = CELLSIZE*0.8;
player.h = CELLSIZE*0.8;
player.waterLevel = 0;
player.waterLevel = 3;
player.speed = 1;
player.isMoving = 0;
}
......@@ -134,5 +134,9 @@ int selectStateHover(){
}
void pourWater(){
player.waterLevel = player.waterLevel - 1;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment