Definition at line 15 of file PathfindingTask.cpp.
◆ PathfindingBlockstate() [1/2]
Botcraft::PathfindingBlockstate::PathfindingBlockstate |
( |
| ) |
|
|
default |
◆ PathfindingBlockstate() [2/2]
Botcraft::PathfindingBlockstate::PathfindingBlockstate |
( |
const Blockstate * |
block, |
|
|
const Position & |
pos, |
|
|
const bool |
take_damage |
|
) |
| |
|
inline |
Definition at line 19 of file PathfindingTask.cpp.
References block, climbable, empty, fluid, Botcraft::Blockstate::GetCollidersAtPos(), hazardous, height, Botcraft::Blockstate::IsClimbable(), Botcraft::Blockstate::IsFluidOrWaterlogged(), Botcraft::Blockstate::IsHazardous(), Botcraft::Blockstate::IsSolid(), solid, and Botcraft::Vector3< T >::y.
◆ GetBlockstate()
const Blockstate * Botcraft::PathfindingBlockstate::GetBlockstate |
( |
| ) |
const |
|
inline |
◆ GetHeight()
float Botcraft::PathfindingBlockstate::GetHeight |
( |
| ) |
const |
|
inline |
◆ IsClimbable()
bool Botcraft::PathfindingBlockstate::IsClimbable |
( |
| ) |
const |
|
inline |
◆ IsEmpty()
bool Botcraft::PathfindingBlockstate::IsEmpty |
( |
| ) |
const |
|
inline |
◆ IsFluid()
bool Botcraft::PathfindingBlockstate::IsFluid |
( |
| ) |
const |
|
inline |
◆ IsHazardous()
bool Botcraft::PathfindingBlockstate::IsHazardous |
( |
| ) |
const |
|
inline |
◆ IsSolid()
bool Botcraft::PathfindingBlockstate::IsSolid |
( |
| ) |
const |
|
inline |
◆ block
const Blockstate* Botcraft::PathfindingBlockstate::block = nullptr |
|
private |
◆ climbable
bool Botcraft::PathfindingBlockstate::climbable = false |
|
private |
◆ empty
bool Botcraft::PathfindingBlockstate::empty = true |
|
private |
◆ fluid
bool Botcraft::PathfindingBlockstate::fluid = false |
|
private |
◆ hazardous
bool Botcraft::PathfindingBlockstate::hazardous = false |
|
private |
◆ height
float Botcraft::PathfindingBlockstate::height = 0.0f |
|
private |
◆ solid
bool Botcraft::PathfindingBlockstate::solid = false |
|
private |
The documentation for this class was generated from the following file: