osb/source/game/StarCollisionBlock.cpp

25 lines
808 B
C++
Raw Normal View History

2023-06-20 04:33:09 +00:00
#include "StarCollisionBlock.hpp"
namespace Star {
CollisionSet const DefaultCollisionSet({CollisionKind::Null, CollisionKind::Slippery, CollisionKind::Dynamic, CollisionKind::Block});
CollisionSet const BlockCollisionSet({CollisionKind::Block, CollisionKind::Slippery});
2023-08-20 03:57:27 +00:00
EnumMap<TileCollisionOverride> const TileCollisionOverrideNames = {
{TileCollisionOverride::None, "None"},
{TileCollisionOverride::Empty, "Empty"},
{TileCollisionOverride::Platform, "Platform"},
{TileCollisionOverride::Block, "Block"}
};
2023-06-20 04:33:09 +00:00
EnumMap<CollisionKind> const CollisionKindNames{
{CollisionKind::Null, "Null"},
{CollisionKind::None, "None"},
{CollisionKind::Platform, "Platform"},
{CollisionKind::Dynamic, "Dynamic"},
{CollisionKind::Slippery, "Slippery"},
{CollisionKind::Block, "Block"}
};
}