summaryrefslogtreecommitdiffstats
path: root/src/game/shared/entity/grounded.hh
blob: 38367ecf37f3b36bacaa7c3d737cab60e163ed7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// SPDX-License-Identifier: BSD-2-Clause
// Copyright (c) 2025 Kirill Dmitrievich
// File: grounded.hh
// Description: Flag components for entites that rest on the ground

#ifndef SHARED_ENTITY_GROUNDED_HH
#define SHARED_ENTITY_GROUNDED_HH
#pragma once

#include "shared/world/voxel.hh"

// Assigned to entities which are grounded
// according to the collision and gravity system
struct Grounded final {
    VoxelMaterial surface;
};

#endif