/TGame/TServerMS/Scene/SceneCombat.cpp

http://awoe.googlecode.com/ · C++ · 22 lines · 15 code · 4 blank · 3 comment · 0 complexity · 3d0f7503c738a10baef2ed4e43e37955 MD5 · raw file

  1. #include "stdafx.h"
  2. #include "SceneCombat.h"
  3. #include "Scene/SceneLua.h"
  4. #include "Lua/LuaWrapper.h"
  5. bool
  6. SceneCombat::onLoad()
  7. {
  8. SceneLua::push(Lua::instance()->state(), this);
  9. return Lua::instance()->call("Scene", "onLoadCombat", 1, 0);
  10. }
  11. //
  12. // entity management
  13. //
  14. IEntityManager*
  15. SceneCombat::getEntityMgr()
  16. {
  17. return &m_ettMgrs;
  18. }