Static Array in Abstract - Load Once?
Alright, I have an abstract class MoveableObject, within it contains a static array type D3DVECTOR and a static function to generate the lookup table for 3d movement.
The array is static, so that means even if 1 million units where created using the class MoveableObject, there would still be only 1 instance of the static array?
MoveableObject <-- Human
MoveableObject <-- Tank
Still only 1 instance of the static D3DVECTOR?
Edit:
What about a static class instance?
I have a static struct, and a static array it must declared:
MoveableObject::UV_TABLE MoveableObject::VectorCircle[360];
Is this correct?