mirror of
https://github.com/godotengine/godot.git
synced 2025-10-27 03:34:17 +00:00
-added kinematic body
-added kinematic body demos
This commit is contained in:
parent
b62ec387f3
commit
7ca29bfaa7
42 changed files with 1171 additions and 559 deletions
|
|
@ -282,6 +282,14 @@ void GDScriptLanguage::get_public_functions(List<MethodInfo> *p_functions) const
|
|||
}
|
||||
}
|
||||
|
||||
void GDScriptLanguage::get_public_constants(List<Pair<String,Variant> > *p_constants) const {
|
||||
|
||||
Pair<String,Variant> pi;
|
||||
pi.first="PI";
|
||||
pi.second=Math_PI;
|
||||
p_constants->push_back(pi);
|
||||
}
|
||||
|
||||
String GDScriptLanguage::make_function(const String& p_class,const String& p_name,const StringArray& p_args) const {
|
||||
|
||||
String s="func "+p_name+"(";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue