MCPcopy Create free account
hub / github.com/EasyRPG/Player / Frame

Method Frame

src/frame.cpp:27–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25#include "drawable_mgr.h"
26
27Frame::Frame() :
28 Drawable(Priority_Frame)
29{
30 if (!lcf::Data::system.frame_name.empty() && lcf::Data::system.show_frame) {
31 FileRequestAsync* request = AsyncHandler::RequestFile("Frame", lcf::Data::system.frame_name);
32 request->SetGraphicFile(true);
33 request_id = request->Bind(&Frame::OnFrameGraphicReady, this);
34 request->Start();
35 }
36
37 DrawableMgr::Register(this);
38}
39
40void Frame::Update() {
41 // no-op

Callers

nothing calls this directly

Calls 4

SetGraphicFileMethod · 0.80
emptyMethod · 0.45
BindMethod · 0.45
StartMethod · 0.45

Tested by

no test coverage detected