Message code enum part 4: finalized transition of Message to enum class.

This commit is contained in:
Muzychenko Andrey committed 2022-09-06 16:57:56 +03:00
1 parent e80010e3c6
commit dfe1665ba1
55 files changed
+751 -792

No files matched your search

+2 -2
View File
@@ -7,7 +7,7 @@
#include "render.h"
#include "timer.h"
TBlocker::TBlocker(TPinballTable* table, int groupIndex) : TCollisionComponent2(table, groupIndex, true)
TBlocker::TBlocker(TPinballTable* table, int groupIndex) : TCollisionComponent(table, groupIndex, true)
{
visualStruct visual{};
@@ -23,7 +23,7 @@ TBlocker::TBlocker(TPinballTable* table, int groupIndex) : TCollisionComponent2(
render::sprite_set_bitmap(RenderSprite, nullptr);
}
int TBlocker::Message2(MessageCode code, float value)
int TBlocker::Message(MessageCode code, float value)
{
switch (code)
{