From 799a376aeecd9bdc712e89324cbe9153206839c9 Mon Sep 17 00:00:00 2001 From: Max-001 Date: Sat, 21 Dec 2024 11:38:19 +0100 Subject: Added comments --- game/Config.h | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'game/Config.h') diff --git a/game/Config.h b/game/Config.h index 7a83ee6..0d6f880 100644 --- a/game/Config.h +++ b/game/Config.h @@ -1,11 +1,9 @@ #pragma once -static constexpr int SORT_IN_LAY_BACK_BACKGROUND = 3; -static constexpr int SORT_IN_LAY_BACKGROUND = 4; -static constexpr int SORT_IN_LAY_FORE_BACKGROUND = 5; -static constexpr int SORT_IN_LAY_PARTICLES_BACKGROUND = 6; -static constexpr int SORT_IN_LAY_OBSTACLES = 8; -static constexpr int SORT_IN_LAY_PLAYER = 10; -static constexpr int SORT_IN_LAY_PARTICLES_FOREGROUND = 15; - - +static constexpr int SORT_IN_LAY_BACK_BACKGROUND = 3; // For all scenes +static constexpr int SORT_IN_LAY_BACKGROUND = 4; // For all scenes +static constexpr int SORT_IN_LAY_FORE_BACKGROUND = 5; // For all scenes +static constexpr int SORT_IN_LAY_PARTICLES_BACKGROUND = 6; // For all scenes +static constexpr int SORT_IN_LAY_OBSTACLES = 8; // Only for GameScene +static constexpr int SORT_IN_LAY_PLAYER = 10; // Only for GameScene +static constexpr int SORT_IN_LAY_PARTICLES_FOREGROUND = 15; // Only for GameScene -- cgit v1.2.3