MCPcopy Create free account
hub / github.com/Hopson97/HopsonCraft / Player

Method Player

Source/Player/Player.cpp:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include "../Maths/General_Maths.h"
11
12Player::Player(Camera& camera)
13: box ({0.5, 1.5, 0.5})
14, m_p_camera (&camera)
15, m_flyModeToggle {sf::Keyboard::F, sf::seconds(0.3), m_isFlying}
16, m_mouseLock {sf::Keyboard::L, sf::seconds(0.5)}
17{ }
18
19void Player::addForce(const Vector3& force)
20{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected