summaryrefslogtreecommitdiffhomepage
path: root/src/script-enums.hpp
blob: 0cf9548d71eeda2f6beee8b12878f35e69be2f26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

namespace floormat {

enum class script_lifecycle : uint8_t
{
    no_init, initializing, created, destroying, torn_down, COUNT,
};

enum class script_destroy_reason : uint8_t
{
    quit,       // game is being shut down
    kill,       // object is being deleted from the gameworld
    unassign,   // script is unassigned from object
    COUNT,
};

} // namespace floormat