Public Member Functions | |
SaveObjectIntoConfig (ConfigMatrix *config, SizeType xIndex, SizeType yIndex) | |
Constructor. | |
void | operator() (const Object *object) const |
Calls specific methods for the selected object. | |
Private Attributes | |
const SizeType | x |
x-index of objects | |
const SizeType | y |
y-index of objects | |
ConfigMatrix *const | matrixConfig |
Config of the matrix. |
Matrix::SaveObjectIntoConfig::SaveObjectIntoConfig | ( | ConfigMatrix * | config, | |
SizeType | xIndex, | |||
SizeType | yIndex | |||
) | [inline, explicit] |
Constructor.
config | Config of the matrix into which object's configs should be added | |
xIndex | First index (x) of objects | |
yIndex | Second index (y) of objects |
void Matrix::SaveObjectIntoConfig::operator() | ( | const Object * | object | ) | const [inline] |
Calls specific methods for the selected object.
object | Selected object |
ConfigMatrix* const Matrix::SaveObjectIntoConfig::matrixConfig [private] |
Config of the matrix.
const SizeType Matrix::SaveObjectIntoConfig::x [private] |
x-index of objects
const SizeType Matrix::SaveObjectIntoConfig::y [private] |
y-index of objects