YourCityInvadedByAliens
Documentation for code of the game
game_bioplast_state.h
Go to the documentation of this file.
1 #pragma once
2 #include <vector>
3 #include "coordxy.h"
4 
6  public:
7  GameBioplastState(const CoordXY &pStart, const CoordXY &pEnd);
8  const CoordXY &getPosition();
9  void move();
10  bool hasDestroyed();
11  void destroy();
12 
13  private:
18  double m_nDistance;
20 };
GameBioplastState::destroy
void destroy()
Definition: game_bioplast_state.cpp:55
GameBioplastState::m_bDestroyed
bool m_bDestroyed
Definition: game_bioplast_state.h:17
GameBioplastState::m_nDistance
double m_nDistance
Definition: game_bioplast_state.h:18
GameBioplastState::hasDestroyed
bool hasDestroyed()
Definition: game_bioplast_state.cpp:51
GameBioplastState::getPosition
const CoordXY & getPosition()
Definition: game_bioplast_state.cpp:23
GameBioplastState::m_pStart
CoordXY m_pStart
Definition: game_bioplast_state.h:14
GameBioplastState::m_pEnd
CoordXY m_pEnd
Definition: game_bioplast_state.h:15
GameBioplastState::m_p0
CoordXY m_p0
Definition: game_bioplast_state.h:16
CoordXY
Definition: coordxy.h:5
GameBioplastState
Definition: game_bioplast_state.h:5
coordxy.h
GameBioplastState::move
void move()
Definition: game_bioplast_state.cpp:27
GameBioplastState::GameBioplastState
GameBioplastState(const CoordXY &pStart, const CoordXY &pEnd)
Definition: game_bioplast_state.cpp:7
GameBioplastState::m_step
CoordXY m_step
Definition: game_bioplast_state.h:19