14 lines
283 B
C++
14 lines
283 B
C++
#pragma once
|
|
|
|
#include "scene/2d/physics/area_2d.h"
|
|
|
|
class Pinboard : public Area2D {
|
|
GDCLASS(Pinboard, Area2D);
|
|
static void _bind_methods();
|
|
void enter_tree();
|
|
void on_body_entered(Node2D *node);
|
|
void on_body_exited(Node2D *node);
|
|
|
|
protected:
|
|
void _notification(int what);
|
|
};
|