| 127 | } |
| 128 | |
| 129 | bool Entity::inWorld() const { |
| 130 | if (m_world) { |
| 131 | starAssert(m_world && m_entityId != NullEntityId && m_entityMode); |
| 132 | return true; |
| 133 | } else { |
| 134 | starAssert(!m_world && m_entityId == NullEntityId && !m_entityMode); |
| 135 | return false; |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | World* Entity::world() const { |
| 140 | if (!m_world) |
no outgoing calls
no test coverage detected