summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-01-31 13:18:46 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-01-31 13:18:46 -0500
commit66e8f5b7d5d245bb7f5d4c4963e70e6b97e0bd4d (patch)
tree3bdc6139c11c3cae0bf0f752e13505bf4a576d14 /src
parentd0f98e7a332d9570409eecc7801064c850b20e34 (diff)
downloadtanetane-66e8f5b7d5d245bb7f5d4c4963e70e6b97e0bd4d.tar.gz
tanetane-66e8f5b7d5d245bb7f5d4c4963e70e6b97e0bd4d.tar.bz2
tanetane-66e8f5b7d5d245bb7f5d4c4963e70e6b97e0bd4d.zip
Added Boney
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index fa9605f..ea8d8f4 100644 --- a/src/main.cpp +++ b/src/main.cpp
@@ -11,6 +11,7 @@ void loop(Renderer& renderer) {
11 int lucasSprite = game.addSprite(Sprite("../res/lucas_anim.txt", renderer)); 11 int lucasSprite = game.addSprite(Sprite("../res/lucas_anim.txt", renderer));
12 int kumaSprite = game.addSprite(Sprite("../res/kuma_anim.txt", renderer)); 12 int kumaSprite = game.addSprite(Sprite("../res/kuma_anim.txt", renderer));
13 int dusterSprite = game.addSprite(Sprite("../res/duster_anim.txt", renderer)); 13 int dusterSprite = game.addSprite(Sprite("../res/duster_anim.txt", renderer));
14 int boneySprite = game.addSprite(Sprite("../res/boney_anim.txt", renderer));
14 15
15 game.moveSprite(lucasSprite, {32,32}); 16 game.moveSprite(lucasSprite, {32,32});
16 17
@@ -18,6 +19,7 @@ void loop(Renderer& renderer) {
18 party.addMember(game, lucasSprite); 19 party.addMember(game, lucasSprite);
19 party.addMember(game, kumaSprite); 20 party.addMember(game, kumaSprite);
20 party.addMember(game, dusterSprite); 21 party.addMember(game, dusterSprite);
22 party.addMember(game, boneySprite);
21 23
22 renderer.render(game); 24 renderer.render(game);
23 25