Antkeeper  0.0.1
Functions
ant-swarm.cpp File Reference
#include "game/ant/ant-swarm.hpp"
#include "game/components/transform-component.hpp"
#include "game/components/steering-component.hpp"
#include "game/components/scene-component.hpp"
#include "game/components/picking-component.hpp"
#include "game/components/winged-locomotion-component.hpp"
#include "game/components/rigid-body-component.hpp"
#include "game/components/ant-caste-component.hpp"
#include <engine/resources/resource-manager.hpp>
#include <engine/math/quaternion.hpp>
#include <engine/math/angles.hpp>
#include <engine/scene/static-mesh.hpp>
#include <engine/config.hpp>
#include <cmath>
#include <random>

Go to the source code of this file.

Functions

entity::id create_ant_swarm (::game &ctx)
 
void destroy_ant_swarm (::game &ctx, entity::id swarm_eid)
 

Function Documentation

◆ create_ant_swarm()

entity::id create_ant_swarm ( ::game ctx)

Definition at line 53 of file ant-swarm.cpp.

◆ destroy_ant_swarm()

void destroy_ant_swarm ( ::game ctx,
entity::id  swarm_eid 
)

Definition at line 169 of file ant-swarm.cpp.