TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
IdleState Class Reference

#include <GridStates.h>

Public Member Functions

void Update (Map &, NGridType &, GridInfo &, uint32 t_diff) const override
 
- Public Member Functions inherited from GridState
virtual ~GridState ()
 

Member Function Documentation

void IdleState::Update ( Map map,
NGridType grid,
GridInfo ,
uint32  t_diff 
) const
overridevirtual

Implements GridState.

46 {
47  map.ResetGridExpiry(grid);
49  TC_LOG_DEBUG("maps", "Grid[%u, %u] on map %u moved to REMOVAL state", grid.getX(), grid.getY(), map.GetId());
50 }
#define TC_LOG_DEBUG(filterType__,...)
Definition: Log.h:198
uint32 GetId(void) const
Definition: Map.h:325
Definition: NGrid.h:66
void SetGridState(grid_state_t s)
Definition: NGrid.h:101
int32 getY() const
Definition: NGrid.h:103
int32 getX() const
Definition: NGrid.h:102
void ResetGridExpiry(NGridType &grid, float factor=1) const
Definition: Map.h:319

+ Here is the call graph for this function:


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