I have a class that acts purely as a data store for other class instances. Something like:
class Mover
{
Position position;
Velocity linearVelocity;
Velocity angularVelocity;
}
The Half-Life (Quake too?) engine did this sort of thing with its pev pointer, grouping a bunch of data into one container object.
Is this called something? I want to do some reading on best practices and proper naming conventions.
Thanks.
There is no specific design pattern under consideration here.
Although the object under consideration is called a Value Object
Also refer to this : Can Value Objects Contain Reference Objects