Polyphase Game Engine
Loading...
Searching...
No Matches
ActionSetVoxels Class Reference

#include <ActionManager.h>

Inheritance diagram for ActionSetVoxels:
Action

Public Member Functions

 DECLARE_ACTION_INTERFACE (SetVoxels)
 
 ActionSetVoxels (Voxel3D *voxel, const std::vector< VoxelChange > &changes)
 
- Public Member Functions inherited from Action
virtual ~Action ()
 
virtual void Execute ()
 
virtual void Reverse ()
 
virtual const char * GetName ()=0
 

Protected Attributes

Voxel3DmVoxel = nullptr
 
std::vector< VoxelChange > mChanges
 

Constructor & Destructor Documentation

◆ ActionSetVoxels()

ActionSetVoxels::ActionSetVoxels ( Voxel3D voxel,
const std::vector< VoxelChange > &  changes 
)

Member Function Documentation

◆ DECLARE_ACTION_INTERFACE()

ActionSetVoxels::DECLARE_ACTION_INTERFACE ( SetVoxels  )

Member Data Documentation

◆ mChanges

std::vector<VoxelChange> ActionSetVoxels::mChanges
protected

◆ mVoxel

Voxel3D* ActionSetVoxels::mVoxel = nullptr
protected

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