Estella
0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
BodyType.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: Apache-2.0
2
// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
11
#pragma once
12
13
#include "
../../core/Types.hpp
"
14
#include "
../../core/Reflection.hpp
"
15
16
namespace
esengine::ecs
{
17
18
ES_ENUM
()
19
enum class
BodyType
:
u8
{
20
Static
,
21
Kinematic
,
22
Dynamic
23
};
24
25
}
// namespace esengine::ecs
Reflection.hpp
Reflection and metadata system for automatic binding generation.
ES_ENUM
#define ES_ENUM(...)
Mark an enum that should be exposed to scripts.
Definition
Reflection.hpp:119
Types.hpp
Core type definitions and utilities for ESEngine.
esengine::ecs
Definition
AotComponents.generated.hpp:8
esengine::ecs::BodyType
BodyType
Definition
BodyType.hpp:19
esengine::ecs::BodyType::Kinematic
@ Kinematic
Definition
BodyType.hpp:21
esengine::ecs::BodyType::Dynamic
@ Dynamic
Definition
BodyType.hpp:22
esengine::u8
std::uint8_t u8
Unsigned 8-bit integer.
Definition
Types.hpp:41
esengine::ecs::Static
Tag component marking an entity as static (non-moving).
Definition
Common.hpp:56
src
esengine
ecs
components
BodyType.hpp
Generated by
1.15.0