mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Fix code typos
* change parameter name to p_amplitude * add const to get_speed()
This commit is contained in:
committed by
GitHub
parent
ae602ba02d
commit
b3f0c96ed3
@@ -443,7 +443,7 @@ functions:
|
||||
double amplitude;
|
||||
|
||||
public:
|
||||
void set_amplitude(const double amplitude);
|
||||
void set_amplitude(const double p_amplitude);
|
||||
double get_amplitude() const;
|
||||
...
|
||||
|
||||
@@ -500,7 +500,7 @@ code:
|
||||
...
|
||||
void _process(double delta) override;
|
||||
void set_speed(double p_speed);
|
||||
double get_speed();
|
||||
double get_speed() const;
|
||||
...
|
||||
|
||||
This requires a few more changes to our ``gdexample.cpp`` file, again we're only
|
||||
|
||||
Reference in New Issue
Block a user