Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
MapObject Class Reference

#include <Object.h>

Inheritance diagram for MapObject:
Collaboration 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 ObjectGridLoader

Detailed Description

Definition at line 587 of file Object.h.

Constructor & Destructor Documentation

◆ MapObject()

MapObject::MapObject ( )
inlineprotected

Definition at line 593 of file Object.h.

References _moveState, and _newPosition.

Referenced by Creature::Creature(), and GameObject::GameObject().

Member Function Documentation

◆ GetCurrentCell()

◆ SetCurrentCell()

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

◆ SetNewCellPosition()

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

◆ Map

◆ ObjectGridLoader

friend class ObjectGridLoader
friend

Definition at line 590 of file Object.h.

References ObjectGridLoader.

Referenced by ObjectGridLoader.

Member Data Documentation

◆ _currentCell

Cell MapObject::_currentCell
private

Definition at line 596 of file Object.h.

Referenced by GetCurrentCell(), and SetCurrentCell().

◆ _moveState

◆ _newPosition

Position MapObject::_newPosition
private

The documentation for this class was generated from the following file:
  • src/server/game/Entities/Object/Object.h