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

Function MakeRoute

tests/move_route.cpp:16–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14TEST_SUITE_BEGIN("MoveRoute");
15
16lcf::rpg::MoveRoute MakeRoute(int code, bool repeat = false, bool skip = false) {
17 lcf::rpg::MoveRoute mr;
18 lcf::rpg::MoveCommand mc;
19 mc.command_id = code;
20 mr.move_commands = { mc };
21 mr.repeat = repeat;
22 mr.skippable = skip;
23 return mr;
24}
25
26lcf::rpg::MoveRoute MakeRoute(std::initializer_list<lcf::rpg::MoveCommand> cmds, bool repeat = false, bool skip = false) {
27 lcf::rpg::MoveRoute mr;

Callers 6

move_route.cppFile · 0.85
testInvalidCmdFunction · 0.85
testMoveFunction · 0.85
testTurnFunction · 0.85
testJumpFunction · 0.85
testLockFacingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected