layout de TITOL
This commit is contained in:
@@ -54,8 +54,7 @@ class Enemic {
|
||||
Punt get_velocitat_vector() const {
|
||||
return {
|
||||
velocitat_ * std::cos(angle_ - Constants::PI / 2.0f),
|
||||
velocitat_ * std::sin(angle_ - Constants::PI / 2.0f)
|
||||
};
|
||||
velocitat_ * std::sin(angle_ - Constants::PI / 2.0f)};
|
||||
}
|
||||
|
||||
// Set ship position reference for tracking behavior
|
||||
@@ -68,7 +67,10 @@ class Enemic {
|
||||
|
||||
// [NEW] Setters for difficulty multipliers (stage system)
|
||||
void set_velocity(float vel) { velocitat_ = vel; }
|
||||
void set_rotation(float rot) { drotacio_ = rot; animacio_.drotacio_base = rot; }
|
||||
void set_rotation(float rot) {
|
||||
drotacio_ = rot;
|
||||
animacio_.drotacio_base = rot;
|
||||
}
|
||||
void set_tracking_strength(float strength);
|
||||
|
||||
// [NEW] Invulnerability queries
|
||||
|
||||
Reference in New Issue
Block a user