blob: 822387fefdc3ac96ec3d14c4fbc35823f7b0876f (
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 EnemyBulletScript : 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();
};
|