From ba32738ec76ed90a4ccc8ae468d29579adf9b954 Mon Sep 17 00:00:00 2001 From: Thomas Herzog Date: Tue, 30 May 2017 23:13:48 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e0bd07c9..0daa3512 100644 --- a/README.md +++ b/README.md @@ -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 #include @@ -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"); ```