diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2015-10-13 08:50:54 -0400 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2015-10-13 08:50:54 -0400 |
commit | 3d375c17982f9f459c82364117687d145540fe75 (patch) | |
tree | 47638e15f9d3f26f8a43c89c4566d4794b08ba4d /src/ui.cpp | |
parent | 8f2f66a7b90f97911bbffce3ccc8c7ad01ba61ad (diff) |
Added rabbit, and player health
Diffstat (limited to 'src/ui.cpp')
-rw-r--r-- | src/ui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -236,6 +236,7 @@ namespace ui { if(!left&&!right)player->vel.x=0; if(SDL_KEY==SDLK_LSHIFT)player->speed = 1; if(SDL_KEY==SDLK_LCTRL)player->speed = 1; + if(SDL_KEY==SDLK_h)player->health-=5; break; default: break; |