debris hereten velocitat angular
This commit is contained in:
1 parent
523342fed9
commit
3c3857c1b2
6 files changed
+93
-18
No files matched your search
@@ -50,6 +50,7 @@ class Enemic {
|
||||
const std::shared_ptr<Graphics::Shape>& get_forma() const { return forma_; }
|
||||
void destruir() { esta_ = false; }
|
||||
float get_brightness() const { return brightness_; }
|
||||
float get_drotacio() const { return drotacio_; }
|
||||
Punt get_velocitat_vector() const {
|
||||
return {
|
||||
velocitat_ * std::cos(angle_ - Constants::PI / 2.0f),
|
||||
|
||||
Reference in new issue
Block a user