OpenBF1942-Plus
Refractor 1, rebuilt from scratch
Loading...
Searching...
No Matches
obf::Conquest Struct Reference

#include <conquest.h>

Public Member Functions

std::vector< std::string > update (float dt, const std::vector< std::array< int, 3 > > &present)
void death (int team)
int owned (int team) const

Public Attributes

std::vector< ConquestFlag > flags
std::array< float, 3 > tickets {0, 100, 100}
std::array< float, 3 > bleed {0, 0, 0}
int winner = 0

Member Function Documentation

◆ death()

void obf::Conquest::death ( int team)

◆ owned()

int obf::Conquest::owned ( int team) const

◆ update()

std::vector< std::string > obf::Conquest::update ( float dt,
const std::vector< std::array< int, 3 > > & present )

Member Data Documentation

◆ bleed

std::array<float, 3> obf::Conquest::bleed {0, 0, 0}

◆ flags

std::vector<ConquestFlag> obf::Conquest::flags

◆ tickets

std::array<float, 3> obf::Conquest::tickets {0, 100, 100}

◆ winner

int obf::Conquest::winner = 0

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