aboutsummaryrefslogtreecommitdiff
path: root/game/player/PlayerBulletScript.h
blob: 559b815980cceb36da54615bb9c35bd9aac7c327 (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();
};