Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8076 in orxonox.OLD


Ignore:
Timestamp:
Jun 1, 2006, 3:36:12 PM (18 years ago)
Author:
snellen
Message:

adapted filename

Location:
branches/script_engine/src/lib/script_engine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/script_engine/src/lib/script_engine/account.cc

    r8073 r8076  
    4242        ~Object() { printf("deleted Object (%p)\n", this); }
    4343
     44        int getCallCount(lua_State* L){return getCallCount();}
    4445
    4546        int printName(lua_State* L)
     
    5051        }
    5152
     53        int getCallCount(){return callCount;}
    5254
    5355      private:
     
    6062    Lunar<Object>::RegType Object::methods[] = {
    6163      method(Object, printName),
     64      method(Object, getCallCount),
    6265      {0,0}
    6366    };
  • branches/script_engine/src/lib/script_engine/lunartest2.lua

    r8072 r8076  
    1919  io.write(" as parameter\n")
    2020  Obj:printName()
     21  io.write("callCount is now",Obj:getCallCount())
    2122  print('a =', a)
    2223  print('b =', b)
Note: See TracChangeset for help on using the changeset viewer.