diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-21 10:41:08 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-21 10:41:08 +0100 |
commit | 5134bebc19c46e4e07a5ec3af1d3f3d2d17a86dd (patch) | |
tree | 837daf5b5de189d557b6ae8eaed149354a3b5030 /src/crepe/types.h | |
parent | 70b1bf50de703330436f2ae9cb103fe33cbb567e (diff) | |
parent | 115d6f50152dc018073345800ca90b85846ebaa9 (diff) |
merge `master` into `loek/scripts`
Diffstat (limited to 'src/crepe/types.h')
-rw-r--r-- | src/crepe/types.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/crepe/types.h b/src/crepe/types.h index 0d459e8..914c76c 100644 --- a/src/crepe/types.h +++ b/src/crepe/types.h @@ -1,9 +1,16 @@ #pragma once #include <cstdint> +#include <functional> +#include <vector> namespace crepe { +//! GameObject ID typedef uint32_t game_object_id_t; -} +//! vector of reference_wrapper +template <typename T> +using RefVector = std::vector<std::reference_wrapper<T>>; + +} // namespace crepe |