aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.cpp')
-rw-r--r--src/player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player.cpp b/src/player.cpp
index da71914..cd939bb 100644
--- a/src/player.cpp
+++ b/src/player.cpp
@@ -72,10 +72,10 @@ void PlayerSystem::create(void)
player = game::entities.create();
player.assign<Position>(0.0f, 100.0f);
player.assign<Direction>(0.0f, 0.0f);
- // The new g value is a multiplier for the gravity constant. This allows for air resistance simulation.
//player.assign<Physics>(-0.001f);
player.assign<Physics>(1);
player.assign<Visible>(-0.2f);
+ player.assign<Health>(100);
auto sprite = player.assign<Sprite>();
XMLDocument xmld;
xmld.Parse(spriteXML);