Added Bullet shooting
This commit is contained in:
@@ -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);
|
||||
};
|
||||
Reference in New Issue
Block a user