X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmain.cpp;h=cb4ad91317aa4d311a6dba3fe133e7b62ee36ec1;hb=31988dadfaa3f1412644b0d8ecdee1e96c65e321;hp=e39d31830976b38b40e396da5f38a28dc114770a;hpb=923422e6a71f57b8fa24b826d1e2914faa144081;p=l2e.git diff --git a/src/main.cpp b/src/main.cpp index e39d318..cb4ad91 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -81,6 +81,7 @@ int main(int argc, char **argv) { SDL_Surface *monsterImg(IMG_Load("test-data/monster.png")); Sprite dummySprite(monsterImg, 64, 64); Monster monster; + monster.SetName("Monster"); monster.SetSprite(&dummySprite); monster.SetMaxHealth(10); monster.SetHealth(10);