[Added] The ability to fire bullets to the player
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#ifndef PBULLET_H
|
||||
#define PBULLET_H
|
||||
|
||||
#include "entities/Bullet.h"
|
||||
#include <iostream>
|
||||
|
||||
class PBullet : public Bullet {
|
||||
public:
|
||||
|
||||
PBullet() {}
|
||||
PBullet(Vector2 pos, float angle) : Bullet(pos, angle) {
|
||||
this->color = YELLOW;
|
||||
}
|
||||
|
||||
|
||||
private:
|
||||
void objCollision() override {
|
||||
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user