Program Listing for File hit.h

Return to documentation for file (rootex/framework/components/physics/hit.h)

#pragma once

#include "entity.h"

struct Hit
{
    Entity* thisOne;
    Entity* thatOne;

    Hit::Hit(Entity* left, Entity* right)
        : thisOne(left)
        , thatOne(right)
    {
    }
    Hit(const Hit&) = delete;
    ~Hit() = default;
};