Called by the world on Spawn and Destroy. @param world the pointer to the current world */
| 56 | @param world the pointer to the current world |
| 57 | */ |
| 58 | void SetWorld(const WeakRef<World>& world) { |
| 59 | worldptr = world; |
| 60 | } |
| 61 | |
| 62 | /** |
| 63 | Check if this Entity has been spawned |