mirror of
https://github.com/orange-cpp/omath.git
synced 2026-06-09 16:54:35 +00:00
21 lines
329 B
C++
21 lines
329 B
C++
//
|
|
// Created by vlad on 11/15/2024.
|
|
//
|
|
#pragma once
|
|
#include "ICollidable.h"
|
|
#include <memory>
|
|
|
|
|
|
|
|
namespace omath::collision
|
|
{
|
|
class ICollidable
|
|
{
|
|
public:
|
|
virtual ~ICollidable() = default;
|
|
|
|
[[nodiscard]]
|
|
virtual bool IsCollideWith(const std::shared_ptr<ICollidable>& other) = 0;
|
|
};
|
|
}
|