Skip to content
Snippets Groups Projects
Select Git revision
  • 982f8a8290f5ab87a490437f2e2a6482fa62cd24
  • main default protected
  • correction_video
  • going_further
  • ImprovedMouseInteraction
  • final2023
  • template
  • ModifGUI
8 results

CellularAutomatonSimulationTest.java

Blame
  • Forked from NAVES Guyslain / Game of life Template
    Source project has a limited visibility.
    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)>;
        };  
    }