Compare commits
2 Commits
3840276f1a
...
12796fa31b
| Author | SHA1 | Date | |
|---|---|---|---|
| 12796fa31b | |||
| c1637a2a2e |
@@ -200,8 +200,8 @@ private:
|
|||||||
firstKey(std::move(firstKey)), secondKey(std::move(secondKey)),
|
firstKey(std::move(firstKey)), secondKey(std::move(secondKey)),
|
||||||
value(std::move(value)) {}
|
value(std::move(value)) {}
|
||||||
|
|
||||||
std::size_t firstKeyHash = 0;
|
const std::size_t firstKeyHash;
|
||||||
std::size_t secondKeyHash = 0;
|
const std::size_t secondKeyHash;
|
||||||
const AKey firstKey;
|
const AKey firstKey;
|
||||||
const BKey secondKey;
|
const BKey secondKey;
|
||||||
mutable Value value;
|
mutable Value value;
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ concept Component = std::derived_from<T, BaseComponent>;
|
|||||||
class World {
|
class World {
|
||||||
public:
|
public:
|
||||||
// Entity
|
// Entity
|
||||||
|
[[nodiscard]]
|
||||||
Entity CreateEntity();
|
Entity CreateEntity();
|
||||||
bool EntityExists(const Entity &entity) noexcept;
|
bool EntityExists(const Entity &entity) noexcept;
|
||||||
[[nodiscard("It is not guaranteed that an entity can always be destroyed, "
|
[[nodiscard("It is not guaranteed that an entity can always be destroyed, "
|
||||||
|
|||||||
Reference in New Issue
Block a user