diff options
| author | Thomas Herzog <karroffel@users.noreply.github.com> | 2017-05-30 23:13:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-30 23:13:48 +0200 |
| commit | ba32738ec76ed90a4ccc8ae468d29579adf9b954 (patch) | |
| tree | dc5445e1af5a0c198e7a453236776ac55b92369a | |
| parent | d1940b8d71370bddbf3d26bbb21889dc50c54571 (diff) | |
| download | redot-cpp-ba32738ec76ed90a4ccc8ae468d29579adf9b954.tar.gz | |
Update README.md
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -55,7 +55,7 @@ And our file structure will be # Creating simple class Create `init.cpp` under `SimpleLibrary/src/` and add the following code -``` +```cpp #include <godot.h> #include <core/Godot.hpp> @@ -102,7 +102,7 @@ This creates the file `libtest.so` in your `SimpleLibrary/lib` directory. For wi follow [godot_header/README.md](https://github.com/GodotNativeTools/godot_headers/blob/master/README.md) file to create the `.gdn` # Implementing with gdscript -``` +```gdscript var simpleclass = load("res://simpleclass.gdn").new(); simpleclass.method("Test argument"); ``` |
