Implements calling Lua.
This commit is contained in:
10
src/PlayScene.cc
Normal file
10
src/PlayScene.cc
Normal file
@@ -0,0 +1,10 @@
|
||||
#include "PlayScene.h"
|
||||
|
||||
|
||||
gj::PlayScene::PlayScene(gj::PlayScene::Param&& p) :
|
||||
alloc_(p.alloc), logger_(p.logger), w_(p.w), h_(p.h),
|
||||
clock_(p.clock) {
|
||||
lua_ = alloc_->MakeUniq<Lua>(alloc_, Lua::FactoryMap(), "res/score/"+p.score+".lua");
|
||||
|
||||
logger_->Print(L"PlayScene init");
|
||||
}
|
Reference in New Issue
Block a user