Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/SuperOrxoBros_HS18/SuperOrxoBros_HS18/test/core_plugin/Testconsolecommand.cc @ 12175

Last change on this file since 12175 was 12175, checked in by siramesh, 5 years ago

Super Orxo Bros (Sidharth Ramesh, Nisa Balta, Jeff Ren)

File size: 193 bytes
Line 
1#include "core/command/ConsoleCommandIncludes.h"
2
3namespace 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.