YourCityInvadedByAliens
Documentation for code of the game
Public Member Functions | Private Attributes | List of all members
GameBioplastState Class Reference

#include <game_bioplast_state.h>

Collaboration diagram for GameBioplastState:
Collaboration graph
[legend]

Public Member Functions

 GameBioplastState (const CoordXY &pStart, const CoordXY &pEnd)
 
const CoordXYgetPosition ()
 
void move ()
 
bool hasDestroyed ()
 
void destroy ()
 

Private Attributes

CoordXY m_pStart
 
CoordXY m_pEnd
 
CoordXY m_p0
 
bool m_bDestroyed
 
double m_nDistance
 
CoordXY m_step
 

Constructor & Destructor Documentation

◆ GameBioplastState()

GameBioplastState::GameBioplastState ( const CoordXY pStart,
const CoordXY pEnd 
)

Member Function Documentation

◆ destroy()

void GameBioplastState::destroy ( )

◆ getPosition()

const CoordXY & GameBioplastState::getPosition ( )

◆ hasDestroyed()

bool GameBioplastState::hasDestroyed ( )

◆ move()

void GameBioplastState::move ( )

Member Data Documentation

◆ m_bDestroyed

bool GameBioplastState::m_bDestroyed
private

◆ m_nDistance

double GameBioplastState::m_nDistance
private

◆ m_p0

CoordXY GameBioplastState::m_p0
private

◆ m_pEnd

CoordXY GameBioplastState::m_pEnd
private

◆ m_pStart

CoordXY GameBioplastState::m_pStart
private

◆ m_step

CoordXY GameBioplastState::m_step
private

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