Add new GameObject

About

The second major system in KapEngine is GameObject system. You can understand what is it just with the link below :

What is it ?

Example

/* since KapEngine 1.1 */
int main() {
    // before, KapEngine already init and scene too. The scene in stock in scene variable
    auto gameObject = scene->createGameObject("GameObject Name");
}

/* KapEngine 1.0 */
int main() {
    // before, KapEngine already init and scene too. The scene in stock in scene variable
    auto gameObject = KapEngine::Factory::createEmptyGameObject(scene, "GameObject Name");
}

Last updated