Commit ac89276b authored by Benjamin Castel's avatar Benjamin Castel
Browse files

Added thrusting and setters to Spaceship

parent a2b77743
Loading
Loading
Loading
Loading
+4 −0
Changes for src/model/Spaceship.cpp: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -8,3 +8,7 @@ Spaceship::Spaceship(const Player &playerNumber, const glm::mat4 &modelWorld)
const glm::vec3 &Spaceship::get_acceleration() const { return this->acceleration; }

const Player &Spaceship::get_player_number() const { return this->playerNumber; }

const bool &Spaceship::is_thrusting() const { return this->thrusting; }

void