Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
Public Member Functions | Public Attributes | List of all members
cqsp::common::components::ships::Fleet Struct Reference

#include <ships.h>

Public Member Functions

 Fleet (entt::entity parent_fleet, entt::entity _owner, unsigned int _echelon)
 
 Fleet (entt::entity _owner)
 

Public Attributes

unsigned int echelon = 0
 
std::vector< entt::entity > subfleets
 
std::vector< entt::entity > ships
 
entt::entity parent_fleet = entt::null
 
entt::entity owner
 

Constructor & Destructor Documentation

◆ Fleet() [1/2]

cqsp::common::components::ships::Fleet::Fleet ( entt::entity  parent_fleet,
entt::entity  _owner,
unsigned int  _echelon 
)
inline

◆ Fleet() [2/2]

cqsp::common::components::ships::Fleet::Fleet ( entt::entity  _owner)
inlineexplicit

Member Data Documentation

◆ echelon

unsigned int cqsp::common::components::ships::Fleet::echelon = 0

◆ owner

entt::entity cqsp::common::components::ships::Fleet::owner

◆ parent_fleet

entt::entity cqsp::common::components::ships::Fleet::parent_fleet = entt::null

◆ ships

std::vector<entt::entity> cqsp::common::components::ships::Fleet::ships

◆ subfleets

std::vector<entt::entity> cqsp::common::components::ships::Fleet::subfleets

The documentation for this struct was generated from the following file: