VPTissue Reference Manual
|
A hexagonal tile. More...
#include <HexagonalTile.h>
Public Member Functions | |
HexagonalTile () | |
Constructor. | |
virtual | ~HexagonalTile () |
Destructor. | |
virtual HexagonalTile * | Down () const |
Creates a new tile on the row under this tile (should normally be the opposite of Tile::Up()) Parent is set to parent of this tile Implementation of Tile::Down() More... | |
virtual HexagonalTile * | Left () const |
Creates a new tile to the left of this tile (should normally be the opposite of Tile::Right()) Parent is set to parent of this tile Implementation of Tile::Left() More... | |
virtual HexagonalTile * | Right () const |
Creates a new tile to the right of this tile (should normally be the opposite of Tile::Left()) Parent is set to parent of this tile Implementation of Tile::Right() More... | |
virtual HexagonalTile * | Up () const |
Creates a new tile on the row under this tile (should normally be the opposite of Tile::Down()) Parent is set to parent of this tile Implementation of Tile::Up() More... | |
Public Member Functions inherited from SimPT_Editor::Tile | |
Tile (const QPolygonF &polygon, const QPainterPath &path) | |
Constructor. More... | |
virtual | ~Tile () |
(Virtual) Destructor | |
const QPolygonF & | GetPolygon () const |
Returns to the polygon of this tile. More... | |
Additional Inherited Members | |
Protected Attributes inherited from SimPT_Editor::Tile | |
const QPolygonF | m_polygon |
A hexagonal tile.
Definition at line 31 of file HexagonalTile.h.
|
virtual |
Creates a new tile on the row under this tile (should normally be the opposite of Tile::Up()) Parent is set to parent of this tile Implementation of Tile::Down()
Implements SimPT_Editor::Tile.
Definition at line 68 of file HexagonalTile.cpp.
References HexagonalTile().
|
virtual |
Creates a new tile to the left of this tile (should normally be the opposite of Tile::Right()) Parent is set to parent of this tile Implementation of Tile::Left()
Implements SimPT_Editor::Tile.
Definition at line 53 of file HexagonalTile.cpp.
References HexagonalTile().
|
virtual |
Creates a new tile to the right of this tile (should normally be the opposite of Tile::Left()) Parent is set to parent of this tile Implementation of Tile::Right()
Implements SimPT_Editor::Tile.
Definition at line 58 of file HexagonalTile.cpp.
References HexagonalTile().
|
virtual |
Creates a new tile on the row under this tile (should normally be the opposite of Tile::Down()) Parent is set to parent of this tile Implementation of Tile::Up()
Implements SimPT_Editor::Tile.
Definition at line 63 of file HexagonalTile.cpp.
References HexagonalTile().