MCPcopy Create free account
hub / github.com/benkuper/Chataigne / createItem

Method createItem

Source/StateMachine/Transition/StateTransitionManager.cpp:52–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52StateTransition* StateTransitionManager::createItem(State* source, State* dest)
53{
54 if (getItemForSourceAndDest(source, dest) != nullptr) return nullptr;
55 return new StateTransition(source, dest);
56}
57
58StateTransition* StateTransitionManager::createItem()
59{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected