summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
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