Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
SquadLogic Class Reference

#include <squadlogic.h>

Collaboration diagram for SquadLogic:
[legend]

Public Member Functions

 SquadLogic (Ship &ship)
 
Shipship ()
 
void joinSquadOf (Ship *leader)
 
void joinSquad (std::shared_ptr< Squad > squad)
 
void leaveSquad ()
 
std::shared_ptr< Squadsquad ()
 
bool inSquad ()
 
bool isSquadLeader ()
 
glm::vec3 formationPosition ()
 
glm::vec3 formationUp ()
 

Protected Attributes

Shipm_ship
 
std::shared_ptr< Squadm_squad
 

Detailed Description

The SquadLogic is the single member's endpoint for interaction with a Squad


The documentation for this class was generated from the following files: