TrinityCore
MapObject Class Reference

#include <MapObject.h>

+ Inheritance diagram for MapObject:

Protected Member Functions

 MapObject ()
 

Private Member Functions

Cell const & GetCurrentCell () const
 
void SetCurrentCell (Cell const &cell)
 
void SetNewCellPosition (float x, float y, float z, float o)
 

Private Attributes

Cell _currentCell
 
MapObjectCellMoveState _moveState
 
Position _newPosition
 

Friends

class Map
 
class ObjectGridLoaderBase
 

Detailed Description

Definition at line 35 of file MapObject.h.

Constructor & Destructor Documentation

◆ MapObject()

MapObject::MapObject ( )
inlineprotected

Definition at line 41 of file MapObject.h.

Member Function Documentation

◆ GetCurrentCell()

Cell const & MapObject::GetCurrentCell ( ) const
inlineprivate

Definition at line 48 of file MapObject.h.

+ Here is the caller graph for this function:

◆ SetCurrentCell()

void MapObject::SetCurrentCell ( Cell const &  cell)
inlineprivate

Definition at line 49 of file MapObject.h.

+ Here is the caller graph for this function:

◆ SetNewCellPosition()

void MapObject::SetNewCellPosition ( float  x,
float  y,
float  z,
float  o 
)
inlineprivate

Definition at line 53 of file MapObject.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Friends And Related Function Documentation

◆ Map

friend class Map
friend

Definition at line 37 of file MapObject.h.

◆ ObjectGridLoaderBase

friend class ObjectGridLoaderBase
friend

Definition at line 38 of file MapObject.h.

Member Data Documentation

◆ _currentCell

Cell MapObject::_currentCell
private

Definition at line 47 of file MapObject.h.

◆ _moveState

MapObjectCellMoveState MapObject::_moveState
private

Definition at line 51 of file MapObject.h.

◆ _newPosition

Position MapObject::_newPosition
private

Definition at line 52 of file MapObject.h.


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