| 927 | } |
| 928 | |
| 929 | Rectangle<int> ScriptingApi::Content::ScriptComponent::getPosition() const |
| 930 | { |
| 931 | const int x = getScriptObjectProperty(Properties::x); |
| 932 | const int y = getScriptObjectProperty(Properties::y); |
| 933 | const int w = getScriptObjectProperty(Properties::width); |
| 934 | const int h = getScriptObjectProperty(Properties::height); |
| 935 | |
| 936 | return Rectangle<int>(x, y, w, h); |
| 937 | } |
| 938 | |
| 939 | void ScriptingApi::Content::ScriptComponent::set(String propertyName, var newValue) |
| 940 | { |
no outgoing calls
no test coverage detected