Loading include/model/Spaceship.hpp +5 −0 Changes for include/model/Spaceship.hpp: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -10,10 +10,15 @@ class Spaceship : public Entity { private: glm::vec3 acceleration; Player playerNumber; bool thrusting; public: Spaceship(const Player &playerNumber, const glm::mat4 &modelWorld); const glm::vec3 &get_acceleration() const; const Player &get_player_number() const; const bool &is_thrusting() const; void set_acceleration(const glm::vec3 &newAcceleration); void set_thrusting(const bool &newThrusting); }; Loading
include/model/Spaceship.hpp +5 −0 Changes for include/model/Spaceship.hpp: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -10,10 +10,15 @@ class Spaceship : public Entity { private: glm::vec3 acceleration; Player playerNumber; bool thrusting; public: Spaceship(const Player &playerNumber, const glm::mat4 &modelWorld); const glm::vec3 &get_acceleration() const; const Player &get_player_number() const; const bool &is_thrusting() const; void set_acceleration(const glm::vec3 &newAcceleration); void set_thrusting(const bool &newThrusting); };