|
Voxellancer
0.3
A game about voxels in space
|
#include <squadlogic.h>
Public Member Functions | |
| SquadLogic (Ship &ship) | |
| Ship * | ship () |
| void | joinSquadOf (Ship *leader) |
| void | joinSquad (std::shared_ptr< Squad > squad) |
| void | leaveSquad () |
| std::shared_ptr< Squad > | squad () |
| bool | inSquad () |
| bool | isSquadLeader () |
| glm::vec3 | formationPosition () |
| glm::vec3 | formationUp () |
Protected Attributes | |
| Ship & | m_ship |
| std::shared_ptr< Squad > | m_squad |
The SquadLogic is the single member's endpoint for interaction with a Squad