CG-Project2
Loading...
Searching...
No Matches
systems::parent Namespace Reference

All utilities for a parent entity. More...

Functions

void addChild (const unsigned int &parent, const unsigned int &child)
 Adds a child to the parent entity.
void removeChild (const unsigned int &parent, const unsigned int &child)
 Removes the given child from the parent entity.

Detailed Description

All utilities for a parent entity.

Function Documentation

◆ addChild()

void systems::parent::addChild ( const unsigned int & parent,
const unsigned int & child )

Adds a child to the parent entity.

Parameters
parentthe parent entity id
childthe child entity id

◆ removeChild()

void systems::parent::removeChild ( const unsigned int & parent,
const unsigned int & child )

Removes the given child from the parent entity.

Parameters
parentthe parent entity id
childthe child entity id