Galactic Bloodshed
Public Member Functions | Public Attributes | Friends | List of all members
Sector Class Reference

#include <vars.h>

Collaboration diagram for Sector:

Public Member Functions

 Sector (int x_, int y_, int eff_, int fert_, int mobilization_, int crystals_, int resource_, int popn_, int troops_, int owner_, int race_, int type_, int condition_)
 
 Sector ()=default
 
 Sector (Sector &)=delete
 
void operator= (const Sector &)=delete
 
 Sector (Sector &&)=default
 
Sectoroperator= (Sector &&)=default
 

Public Attributes

unsigned int x {0}
 
unsigned int y {0}
 
unsigned int eff {0}
 
unsigned int fert {0}
 
unsigned int mobilization {0}
 
unsigned int crystals {0}
 
resource_t resource {0}
 
population_t popn {0}
 
population_t troops {0}
 
player_t owner {0}
 
player_t race {0}
 
unsigned int type {0}
 
unsigned int condition {0}
 

Friends

std::ostream & operator<< (std::ostream &, const Sector &)
 

Detailed Description

Definition at line 151 of file vars.h.

Constructor & Destructor Documentation

◆ Sector() [1/4]

Sector::Sector ( int  x_,
int  y_,
int  eff_,
int  fert_,
int  mobilization_,
int  crystals_,
int  resource_,
int  popn_,
int  troops_,
int  owner_,
int  race_,
int  type_,
int  condition_ 
)
inline

Definition at line 153 of file vars.h.

◆ Sector() [2/4]

Sector::Sector ( )
default

◆ Sector() [3/4]

Sector::Sector ( Sector )
delete

◆ Sector() [4/4]

Sector::Sector ( Sector &&  )
default

Member Function Documentation

◆ operator=() [1/2]

void Sector::operator= ( const Sector )
delete

◆ operator=() [2/2]

Sector& Sector::operator= ( Sector &&  )
default

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const Sector s 
)
friend

Definition at line 10 of file sector.cc.

Member Data Documentation

◆ condition

unsigned int Sector::condition {0}

Definition at line 193 of file vars.h.

◆ crystals

unsigned int Sector::crystals {0}

Definition at line 181 of file vars.h.

◆ eff

unsigned int Sector::eff {0}

Definition at line 178 of file vars.h.

◆ fert

unsigned int Sector::fert {0}

Definition at line 179 of file vars.h.

◆ mobilization

unsigned int Sector::mobilization {0}

Definition at line 180 of file vars.h.

◆ owner

player_t Sector::owner {0}

Definition at line 187 of file vars.h.

◆ popn

population_t Sector::popn {0}

Definition at line 184 of file vars.h.

◆ race

player_t Sector::race {0}

Definition at line 188 of file vars.h.

◆ resource

resource_t Sector::resource {0}

Definition at line 182 of file vars.h.

◆ troops

population_t Sector::troops {0}

Definition at line 185 of file vars.h.

◆ type

unsigned int Sector::type {0}

Definition at line 192 of file vars.h.

◆ x

unsigned int Sector::x {0}

Definition at line 176 of file vars.h.

◆ y

unsigned int Sector::y {0}

Definition at line 177 of file vars.h.


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