aboutsummaryrefslogtreecommitdiff
path: root/game/enemy/EnemyBulletScript.h
blob: 7dab751f5e07e883968448b89a59de0c713e0866 (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();
};