Add unit test for the deferred virtual call implementation in SizeNotifiable.
Fix the build as necessary. Change DeferredRegister() to take no construction parameters.
This commit is contained in:
parent
0a3897f60a
commit
10f830809b
11 changed files with 164 additions and 16 deletions
|
@ -28,7 +28,7 @@ namespace cloonel {
|
|||
///--------------------------------------------------------------------------
|
||||
Platform::Platform (SDLMain* parSdlMain, const float2& parPos, Texture* parTexture, const float2& parSize) :
|
||||
Placeable(parPos),
|
||||
m_screenRatio(parSdlMain, &m_screenRatio),
|
||||
m_screenRatio(parSdlMain, DeferredRegister()),
|
||||
m_size(parSize),
|
||||
m_collisionTop(new HorzCollisionBar(parPos, parSize.x())),
|
||||
m_surface(parTexture)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue