MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / tick

Method tick

source/frontend/StarScriptPane.cpp:50–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void ScriptPane::tick(float dt) {
51 if (m_sourceEntityId != NullEntityId && !m_client->worldClient()->playerCanReachEntity(m_sourceEntityId))
52 dismiss();
53
54 BaseScriptPane::tick(dt);
55}
56
57PanePtr ScriptPane::createTooltip(Vec2I const& screenPosition) {
58 auto result = m_script.invoke<Json>("createTooltip", screenPosition);

Callers 3

updateMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45

Calls 2

playerCanReachEntityMethod · 0.80
worldClientMethod · 0.80

Tested by

no test coverage detected