10 lines
249 B
C++
10 lines
249 B
C++
#include "game/entities/player.hpp"
|
|
|
|
#include "core/resources/resource_cache.hpp"
|
|
|
|
Player::Player(float x, float y)
|
|
: AnimatedSprite(Resource::Cache::get().getAnimationData("player.yaml")) {
|
|
setPos(x, y);
|
|
setCurrentAnimation("stand");
|
|
}
|