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

#include <vars.h>

Collaboration diagram for Planet:

Public Member Functions

 Planet ()=default
 
 Planet (Planet &)=delete
 
Planetoperator= (const Planet &)=delete
 
 Planet (Planet &&)=default
 
Planetoperator= (Planet &&)=default
 

Public Attributes

double xpos
 
double ypos
 
shipnum_t ships
 
unsigned char Maxx
 
unsigned char Maxy
 
struct plinfo info [MAXPLAYERS]
 
int conditions [TOXIC+1]
 
population_t popn
 
population_t troops
 
population_t maxpopn
 
resource_t total_resources
 
player_t slaved_to
 
PlanetType type
 
unsigned char expltimer
 
unsigned char explored
 
planetnum_t planet_id
 

Detailed Description

Definition at line 123 of file vars.h.

Constructor & Destructor Documentation

◆ Planet() [1/3]

Planet::Planet ( )
default

◆ Planet() [2/3]

Planet::Planet ( Planet )
delete

◆ Planet() [3/3]

Planet::Planet ( Planet &&  )
default

Member Function Documentation

◆ operator=() [1/2]

Planet& Planet::operator= ( const Planet )
delete

◆ operator=() [2/2]

Planet& Planet::operator= ( Planet &&  )
default

Member Data Documentation

◆ conditions

int Planet::conditions[TOXIC+1]

Definition at line 135 of file vars.h.

◆ explored

unsigned char Planet::explored

Definition at line 146 of file vars.h.

◆ expltimer

unsigned char Planet::expltimer

Definition at line 144 of file vars.h.

◆ info

struct plinfo Planet::info[MAXPLAYERS]

Definition at line 134 of file vars.h.

◆ maxpopn

population_t Planet::maxpopn

Definition at line 139 of file vars.h.

◆ Maxx

unsigned char Planet::Maxx

Definition at line 132 of file vars.h.

◆ Maxy

unsigned char Planet::Maxy

Definition at line 132 of file vars.h.

◆ planet_id

planetnum_t Planet::planet_id

Definition at line 148 of file vars.h.

◆ popn

population_t Planet::popn

Definition at line 137 of file vars.h.

◆ ships

shipnum_t Planet::ships

Definition at line 131 of file vars.h.

◆ slaved_to

player_t Planet::slaved_to

Definition at line 142 of file vars.h.

◆ total_resources

resource_t Planet::total_resources

Definition at line 140 of file vars.h.

◆ troops

population_t Planet::troops

Definition at line 138 of file vars.h.

◆ type

PlanetType Planet::type

Definition at line 143 of file vars.h.

◆ xpos

double Planet::xpos

Definition at line 130 of file vars.h.

◆ ypos

double Planet::ypos

Definition at line 130 of file vars.h.


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