Recast  1
Game with custom magic
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
IUpdaterTemperatureWorldSemiChunkUpdatableMixin Class Referenceabstract

#include <IUpdaterTemperatureWorldSemiChunkUpdatable.hpp>

Inheritance diagram for IUpdaterTemperatureWorldSemiChunkUpdatableMixin:
Inheritance graph
Collaboration diagram for IUpdaterTemperatureWorldSemiChunkUpdatableMixin:
Collaboration graph

Public Member Functions

virtual bool canAddNearChunk (Edge edge, const std::shared_ptr< ITemperatureWorldBoundable< ITemperatureWorld >> &otherChunk) const noexcept=0
 
virtual void addNearChunk (Edge edge, std::shared_ptr< ITemperatureWorldBoundable< ITemperatureWorld >> otherChunk)=0
 

Detailed Description

Should not be derived directly. Use ITemperatureWorldChunkable. This class is useful for dynamic_cast.

Member Function Documentation

virtual void IUpdaterTemperatureWorldSemiChunkUpdatableMixin::addNearChunk ( Edge  edge,
std::shared_ptr< ITemperatureWorldBoundable< ITemperatureWorld >>  otherChunk 
)
pure virtual

Adds chunk to near chunks collection on specified edge.

Parameters
otherChunkNear chunk.

Implemented in AverageShareTemperatureWorldUpdater.

virtual bool IUpdaterTemperatureWorldSemiChunkUpdatableMixin::canAddNearChunk ( Edge  edge,
const std::shared_ptr< ITemperatureWorldBoundable< ITemperatureWorld >> &  otherChunk 
) const
pure virtualnoexcept

Tells whether it's possible to add this chunk to near chunks collection on specified edge. This method is thread-safe.

Parameters
otherChunkNear chunk.
Returns
True if this chunk can be added to near chunks collection.

Implemented in AverageShareTemperatureWorldUpdater.


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