Select Git revision
RandomStrategy.java
Forked from
TRAVERS Corentin / flooding-template
Source project has a limited visibility.
-
NGUYEN Thi hang authoredNGUYEN Thi hang authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Physical.hpp 417 B
#pragma once
#include <functional>
#include "Component.hpp"
#include <utility/Identifiable.hpp>
namespace megu::kernel {
template <class Pe>
class Physical : public Component<Pe> {
public:
virtual void on_collide(const Kernel &, const Pe &, Physical &, double) = 0;
using CollideLambda = std::function<void(const Kernel &, const Pe &, const Physical &, double)>;
};
}