Show
Ignore:
Timestamp:
03/15/10 06:23:12 (6 months ago)
Author:
trichards
Message:

More work on getting Tutorial 4 scene creation in script. See #199

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tutorials/branches/0185_GEN_PHYSICS_REFACTOR_2/Tutorial4/scripts/client/GameClient.lua

    r3495 r3501  
     1print("=============\nLoading GameClient scripts...\n============") 
    12 
    23 
     
    2425-- ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- 
    2526function GameClient:initialize() 
     27    self:init(); 
     28     
    2629        rootGroup = self:getRootGroup() 
    2730 
     
    4245function GameClient:getActionMap(actionMapName) 
    4346    -- This is in Game now, not GameClient 
    44     return self:getActionMap(actionMapName) 
     47    return self:getGame():getActionMap(actionMapName) 
    4548end 
    4649