Added Bullet shooting

This commit is contained in:
2023-06-16 01:41:38 -05:00
parent a2308914a2
commit 01d1e44839
9 changed files with 84 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
#pragma once
#include "olcPixelGameEngine.h"
struct Bullet{
vf2d pos;
vf2d vel;
float radius;
int damage;
Pixel col;
Bullet(vf2d pos,vf2d vel,float radius,int damage,Pixel col=WHITE);
};