source:
code/trunk/test/core_plugin/Testconsolecommand.cc
@
11739
Last change on this file since 11739 was 11012, checked in by landauf, 9 years ago | |
---|---|
|
|
File size: 193 bytes |
Rev | Line | |
---|---|---|
[11012] | 1 | #include "core/command/ConsoleCommandIncludes.h" |
2 | ||
3 | namespace orxonox | |
4 | { | |
5 | int testcommand(int a, int b) | |
6 | { | |
7 | return a + b; | |
8 | } | |
9 | ||
10 | SetConsoleCommand("testcommand", &testcommand); | |
11 | } |
Note: See TracBrowser
for help on using the repository browser.