Separate `&` from parameter names in methods.
This commit is contained in:
parent
7787e44fbb
commit
3b63025a3f
|
@ -23,7 +23,7 @@ public:
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Update(const float &delta_time) override {
|
void Update(const float& delta_time) override {
|
||||||
if (sf::Keyboard::isKeyPressed(sf::Keyboard::A)) {
|
if (sf::Keyboard::isKeyPressed(sf::Keyboard::A)) {
|
||||||
movement_direction.x = -movement_speed;
|
movement_direction.x = -movement_speed;
|
||||||
movement_direction.y = 0;
|
movement_direction.y = 0;
|
||||||
|
|
Loading…
Reference in New Issue