Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Protected Attributes | List of all members
cPlayerLookCheck Class Reference
Collaboration diagram for cPlayerLookCheck:
Collaboration graph
[legend]

Public Member Functions

 cPlayerLookCheck (Vector3d a_EndermanHeadPosition, int a_SightDistance)
 
cPlayerGetPlayer (void) const
 
bool operator() (cPlayer &a_Player)
 

Protected Attributes

Vector3d m_EndermanHeadPosition
 
cPlayerm_Player
 
int m_SightDistance
 

Detailed Description

Definition at line 14 of file Enderman.cpp.

Constructor & Destructor Documentation

◆ cPlayerLookCheck()

cPlayerLookCheck::cPlayerLookCheck ( Vector3d  a_EndermanHeadPosition,
int  a_SightDistance 
)
inline

Definition at line 18 of file Enderman.cpp.

Member Function Documentation

◆ GetPlayer()

cPlayer* cPlayerLookCheck::GetPlayer ( void  ) const
inline

Definition at line 68 of file Enderman.cpp.

◆ operator()()

bool cPlayerLookCheck::operator() ( cPlayer a_Player)
inline

Definition at line 25 of file Enderman.cpp.

Member Data Documentation

◆ m_EndermanHeadPosition

Vector3d cPlayerLookCheck::m_EndermanHeadPosition
protected

Definition at line 73 of file Enderman.cpp.

◆ m_Player

cPlayer* cPlayerLookCheck::m_Player
protected

Definition at line 72 of file Enderman.cpp.

◆ m_SightDistance

int cPlayerLookCheck::m_SightDistance
protected

Definition at line 74 of file Enderman.cpp.


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