blob: 0637790832c6d9c1a4bf372c22891c7465583e76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#pragma once
#include <crepe/api/BehaviorScript.h>
#include <crepe/api/Script.h>
class PlayerBulletScript : public crepe::Script {
public:
void init() override;
void fixed_update(crepe::duration_t dt) override;
bool on_collide(const crepe::CollisionEvent & e);
void despawn_bullet();
};
|