Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 29, 2008, 2:30:10 AM (16 years ago)
Author:
landauf
Message:

made CommandExecutor a singleton

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core2/src/orxonox/core/ConsoleCommand.h

    r947 r949  
    4040
    4141#define ConsoleCommandGeneric(fakevariable, classname, executor, bCreateShortcut) \
    42 //    Executor& fakevariable = ClassManager<classname>::getIdentifier()->addConsoleCommand((ExecutorStatic*)executor, bCreateShortcut)
     42    Executor& fakevariable = ClassManager<classname>::getIdentifier()->addConsoleCommand((ExecutorStatic*)executor, bCreateShortcut)
    4343
    4444
     
    4747
    4848#define ConsoleCommandShortcutGeneric(fakevariable, executor) \
    49 //    bool fakevariable = CommandExecutor::addConsoleCommandShortcut((ExecutorStatic*)executor)
     49    bool fakevariable = CommandExecutor::addConsoleCommandShortcut((ExecutorStatic*)executor)
    5050
    5151
Note: See TracChangeset for help on using the changeset viewer.