1234567891011121314151617181920 |
- /*
- * 2D Game Engine
- * Heakth.h:
- * Based on pikuma.com 2D game engine in C++ and Lua course
- * Copyright (c) 2021 986-Studio. All rights reserved.
- *
- * Created by Manoël Trapier on 27/02/2021.
- */
- #ifndef GAMEENGINE_SOURCE_INCLUDE_COMPONENTS_HEAKTH_H
- #define GAMEENGINE_SOURCE_INCLUDE_COMPONENTS_HEAKTH_H
- struct HealthComponent
- {
- uint8_t healthPercentage;
- HealthComponent(uint8_t healthPercentage = 0) : healthPercentage(healthPercentage) {};
- };
- #endif /* GAMEENGINE_SOURCE_INCLUDE_COMPONENTS_HEAKTH_H */
|