diff options
Diffstat (limited to 'Examples/lua/embed3/example.cpp')
-rw-r--r-- | Examples/lua/embed3/example.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Examples/lua/embed3/example.cpp b/Examples/lua/embed3/example.cpp new file mode 100644 index 0000000..a8264f3 --- /dev/null +++ b/Examples/lua/embed3/example.cpp @@ -0,0 +1,25 @@ +/* File : example.cpp */ + +#include <stdio.h> +#include "example.h" + +void Engine::start() +{ + printf("[C++] Engine::start()\n"); +} + +void Engine::stop() +{ + printf("[C++] Engine::stop()\n"); +} + +void Engine::accelerate(float f) +{ + printf("[C++] Engine::accelerate(%f)\n",f); +} + +void Engine::decelerate(float f) +{ + printf("[C++] Engine::decelerate(%f)\n",f); +} + |