summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c72d597..dcedb03 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -33,13 +33,12 @@ class Unit: Entity{
Unit(){
- spritesheet_.loadFromFile("angle1_all.png");
+ spritesheet_.loadFromFile("assets/img/Player/Player Angle 1 Sheet.png");
standing_animation = Graphics::Animation(spritesheet_, 6, 60, 44, 48, 0);
walking_animation = Graphics::Animation(spritesheet_, 8, 60, 44, 48, 1);
shooting_animation = Graphics::OneShotAnimation(spritesheet_, 6, 60, 44, 48, 2);
complaining_animation = Graphics::OneShotAnimation(spritesheet_, 1, 60, 44, 48, 3);
dying_animation = Graphics::OneShotAnimation(spritesheet_, 14, 60, 44, 48, 4);
-
position = sf::Vector2f{0,0};
speed = sf::Vector2f{0,0};
};