2018-10-30 01:13:10 -07:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.Physics
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Defined collision groups for the physics system.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Flags]
|
|
|
|
|
|
public enum CollisionGroup
|
|
|
|
|
|
{
|
2019-04-17 23:26:00 +02:00
|
|
|
|
None = 0,
|
|
|
|
|
|
Grid = 1, // Walls
|
|
|
|
|
|
Mob = 2, // Mobs, like the player or NPCs
|
|
|
|
|
|
Fixture = 4, // wall fixtures, like APC or posters
|
|
|
|
|
|
Items = 8 // Items on the ground
|
2018-10-30 01:13:10 -07:00
|
|
|
|
}
|
|
|
|
|
|
}
|